Hi all,
I have some problems with my mysqldump. At first I hadn`t it on my machine (debian) so I installed it by apt-get install mysql-client (that was after da install) MySQL server seems to be running (its in process, I can access it by phpmyadmin and mysql on shell) but I can`t get mysqldump working
error:
I found mysql.sock (not mysqld.sock) in my tmp directory but edit of /etc/my.cnf with socket=/tmp/mysql.sock didn`t help.
Any ideas how to solve this problem?
O.S.: debian etch
Mysql: 5.0
solved edited in /etc/mysql/my.cnf
I have some problems with my mysqldump. At first I hadn`t it on my machine (debian) so I installed it by apt-get install mysql-client (that was after da install) MySQL server seems to be running (its in process, I can access it by phpmyadmin and mysql on shell) but I can`t get mysqldump working
error:
Code:
mysqldump: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) when trying to connect
I found mysql.sock (not mysqld.sock) in my tmp directory but edit of /etc/my.cnf with socket=/tmp/mysql.sock didn`t help.
Any ideas how to solve this problem?
O.S.: debian etch
Mysql: 5.0
solved edited in /etc/mysql/my.cnf
Last edited: