Permission Mysql
Hi,I am trying my start Bd mysql, but appears the following of mistake:
/usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)' Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists! mysql has failed, please contact the sysadmin (result was "Warning, no valid mysql.sock file found.mysql has failed").
I already tried /scripts/mysqlup --forces several times, but it doesn't work.
For the shell, I placed the command:
mysqld_safe --skip-grant-tables &
And Mysql usually works. But when I access PhpMyAdmin, any user, visualizes all the databases, of the other customers. Would anybody know how to fasten that problem, for not appearing the databases for all the users?
One more doubt, if I run that command...
/usr/bin/mysql_install_db --user=mysql
will the bd's that they are in /var/lib/mysql/mysql, suffer something?
Thanks