JOC Posted January 13, 2012 Share Posted January 13, 2012 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 Link to comment Share on other sites More sharing options...
ryan Posted January 13, 2012 Share Posted January 13, 2012 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. Link to comment Share on other sites More sharing options...
JOC Posted February 7, 2012 Author Share Posted February 7, 2012 Thanks this worked. I just had to make the following change. mysql.default_socket = /path/to/mysql.sock Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now