how to connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
snippet in sql

can't connect to local mysql server through socket '/var/run/mysqld/mysqld.sock'

user7471

# Start your mysql server
/etc/init.d/mysql start

how to connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

user1761

#/usr/sbin/mysqld --defaults-file=/etc/mysql/my.cnf --basedir=/usr --datadir=/var/lib/mysql --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock