Quote:
Originally Posted by smaj84_1
It shows this:
root@vps2 [/]# service mysqld start
mysqld: unrecognized service
Tell me what should I do now?
|
I have found these errors...
root@vps2 [/etc]# service mysqld start
mysqld: unrecognized service
root@vps2 [/etc]# service mysql start
Starting MySQL ERROR! Couldn't find MySQL manager (/usr/local/bin/mysqlmanager) or server (/usr/local/bin/mysqld_safe)
root@vps2 [/etc]# /etc/init.d/mysql start
Starting MySQL ERROR! Couldn't find MySQL manager (/usr/local/bin/mysqlmanager) or server (/usr/local/bin/mysqld_safe)
root@vps2 [/etc]# /etc/init.d/mysqld start
-bash: /etc/init.d/mysqld: No such file or directory
root@vps2 [/etc]# /etc/init.d/mysql.server start
Starting MySQL. SUCCESS!
It says Success but it doesnt really started I cannot access mysql command see this:
root@vps2 [/etc]# mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
mysql.sock does not exist in /tmp. even mysql.sock does not exist anywhere..what should I do now?