I have an issue where the "php bot_start --root *drupalpath* --url *site*" just returns "The mysqli error was: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)." in HTML along with the rest of the "Site down" page. This is probably because my mysql.sock is located at /usr/local/lib/mysql.sock, but I couldn't find where/what to change in the files. How can I resolve this?

Comments

morbus iff’s picture

Status: Active » Closed (works as designed)

If your webbased Drupal is working fine, then it sounds like your php-cli.ini file isn't up to date with your MySQL configuration. You'll have to fix that before the bot can attempt to work.