Problem initialising MySQL Daemon
Hey guys, I'm new to the forums here but I hope to become more active as I've recently purchased a dedicated server and I'm running Fedora off of it so it's a constant learning process, I'm fairly average at BASH, but I know enough to make my way around, I'm a software developer to trade more than a network techi. Which leads me to my initial problem, I'm having an issue starting my MySQL daemon after rebooting my dedi, I have no clue why it's suddenly doing this, I'm running PHPMyAdmin from the server and also issuing certain commands through the CLI for MySQL, but after rebooting I'm getting this error everytime I try to start the instance of the daemon:
Code:
[root@ks23085 ~]# service mysqld start I really need a hand on this one, I've tried several solutions from google with no results whatsoever. Thanks in advance guys. |
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/path/to/mysql.sock' (2)
you need to edit /etc/my.cnf or /etc/mysql/my.cnf wherever your my.cnf is located, look for socket = /path/to/mysql.sock and change it to socket = /var/run/mysqld.sock or somewhere that exists! and restart the daemon, hope this helps |
systemctl
Hello,
I think the thing you are also looking for is to automatically start the server on boot. In order to get the daemon to start automatically when the system starts you use: systemctl enable mysqld.service |
Quote:
|
All times are GMT -5. The time now is 06:07 PM. |