MySQL Issues when running via CLI |
I was trying to get some resources working via CLI, so I created a "cli_test" method inside the "Test" controller, which just outputs a string. When I execute it, I get a database error. Here is the output:
Quote:$ clear Heres the MySQL config: PHP Code: $active_group = 'development'; However whenever visit the page via the browser, it works perfectly fine.. I looked at line 135 in the mysqli_driver.php file, its PHP Code: return $mysqli->real_connect($hostname, $this->username, $this->password, $this->database, $port, $socket, $client_flags) ? $mysqli : FALSE; Could it be the $socket? Edit: When I output the socket, its empty/null, so I doubt thats it... |
Messages In This Thread |
MySQL Issues when running via CLI - by jLinux - 09-29-2015, 11:45 AM
RE: MySQL Issues when running via CLI - by jLinux - 09-29-2015, 01:01 PM
RE: MySQL Issues when running via CLI - by jLinux - 09-29-2015, 01:11 PM
|