Jump to content

Recommended Posts

Posted

I am getting the following errors on step 3 MySQL Database Configuration:

!No such file or directory

!Database connection information did not work.

I've updated database permissions and tried different database users who have known access.

Still no luck.

Any ideas?

Thanks

Posted

Here is the code that's generating it:

$mysqli = new mysqli($values['dbHost'], $values['dbUser'], $values['dbPass'], $values['dbName'], $values['dbPort']);
if(!$mysqli || mysqli_connect_error()) {
   $this->err(mysqli_connect_error());
   $this->err("Database connection information did not work.");
}

The 'No such file or directory' error is coming from MySQL (or PHP's MySQL driver). It looks like there is some configuration issue between PHP and MySQL, perhaps something like this?

http://stackoverflow.com/questions/1676688/php-mysql-connection-not-working-2002-no-such-file-or-directory

Let us know what you find.

  • 4 weeks later...
Posted

Thanks this worked. I just had to make the following change.

mysql.default_socket = /path/to/mysql.sock

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...