Comments - Generic Build Instructions

12 years, 2 months ago colin charles
This comment has the status of 'removed' and can only be seen by you.

Don't forget that /var/run/mysqld needs to exist for the mysql user too. Else you'll see the following:

120131 13:21:16 [ERROR] mysqld: Can't create/write to file '/var/run/mysqld/mysqld.pid' (Errcode: 2) 120131 13:21:16 [ERROR] Can't start server: can't create PID file: No such file or directory

This method of installation will also show failures like:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

So you really login via specifying host (mysql -h127.0.0.1)

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.