This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-16. For the latest, interactive version please visit https://mariadb.com/kb/.

Missing mysqld.sock file?

I can not start MariaDB because there is no mysqld.sock file in var/run/mysqld/ folder. I have uninstalled and reinstalled.

I have run mysql_install_db, it was apparently successful. When I ran mysqld_safe it had problems. Mysql-secure_installation hangs with an error no such file in mysqld.sock /var/run/mysqld/. Searching for it came up empty, there was no such file anywhere.

I am having trouble with generating a bug report.

My question is how do find, download, or make the missing file. I have searched mysql and googled without any success.

My OS is Ubuntu 11.04

Answer Answered by colin charles in this comment.

Try doing:

cd /etc/init.d Go to where mysqld is, and try: ./mysqld start

Then do mysql -uroot and see if you can login.

Also, it would help if you tell us how you installed MariaDB. Thanks!

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.