This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

hawk6687111222
hawk6687111222

I keep getting this error when doing a wizard install on my host (byethost, apache 2.2.15, php 5.4.25, MySQL 5.6.13) I followed the instructions to the last period but after five attempts it stops in the same place. I thought maybe it was one of the plugins or themes with the problem so I tried a blank install with the same error code. Looking at the install log is no help as all the directories it says don't exist, do exist.

dshoreman
dshoreman

Check that your MySQL server is running. The "file" it's referencing in terms of MySQL is usually the *nix 'socket'(eg /var/run/mysqld/mysqld.sock on Arch linux) which is used to communicate with the local MySQL server.

Last updated

hawk6687111222
hawk6687111222

The MySQL server is running, I am running other projects from the same server, so I know thats not the issue. I even went into the database.php file and input the correct info to connect to the server (the install did not do this even though it asked for the info). Also, the database that I created is empty. I assume the installer is supposed to populate it before downloading plugins or themes?

Mohsin
Mohsin

Try a php artisan october:up from inside the root directory of your project, that will generate the necessary tables. By default password is admin:admin

hawk6687111222
hawk6687111222

Mohsin said:

Try a php artisan october:up from inside the root directory of your project, that will generate the necessary tables. By default password is admin:admin

I am testing on a free host and can't do that. can i call it from inside the .htaccess or index.php files? If I knew where the file was that populated the tables I could just do it by hand.

hawk6687111222
hawk6687111222

ODDD....my site at : http://ladies4chocolate.byethost7.com/ doesn't work

this site install went thru without a problem: http://prizonpalz.cu.cc/ and I didn't change anything on the second site. Well, I did a basic add-nothin Scratch install. So i think the problem is one of the plugins or themes I was trying to batch install.

Mohsin
Mohsin

Change "host" in the /app/config/database.php file from ”localhost" to ”127.0.0.1”. It should solve your problem.

hawk6687111222
hawk6687111222

Moshin: I did that previously, had no effect whatsoever. I went with a scratch, barebones install and that solved the problem even though it should not have.

wakajeng16501
wakajeng16501

Mohsin said:

Change "host" in the /app/config/database.php file from ”localhost" to ”127.0.0.1”. It should solve your problem.

Mohsin, this worked for me. It should work all the same but I wonder why I have to change it to that.

1-9 of 9

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.