error starting mysql
hi i'm downloading mysql "mysql-standard-4.1.13-pc-linux-gnu-i686"
i've extract it to the folder
when i do thi s:
then the error:
./bin/mysqladmin -u root password
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
when i got this error i found the mysql was already running...
and see how that works (sorry if i got the command wrong..lol.. try 'man mysql' and try to run mysql as root mysql user without a password)
when i do
the error :
and then i copy the file "mysql.server" from my folder of mysql "file:/home/techz_boy/source/LAMP/mysql-standard-4.1.13-pc-linux-gnu-i686/support-files" to /etc/init.d/
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)
when i do :
sorry if my english is bad
[root@localhost support-files]# ./mysql.server start
./mysql.server: line 172: my_print_defaults: command not found
./mysql.server: line 188: cd: /usr/local/mysql: No such file or directory
ERROR! Can't execute ./bin/mysqld_safe