[arch-general] [arch-dev-public] MySQL 5.5

Andrea Scarpino andrea at archlinux.org
Tue Dec 21 21:29:43 EST 2010


On Wednesday 22 December 2010 10:15:58 Marek Otahal wrote:
> warning: directory permissions differ on var/lib/mysql/
> filesystem: 755  package: 700
>  Major version update. Consider running mysql_upgrade.
Your permissions are wrong. Run chmod -R 700 /var/lib/mysql to allow access 
only to mysql user.
 
> [root at beruska ~]# mysql_upgrade
> Looking for 'mysql' as: mysql
> Looking for 'mysqlcheck' as: mysqlcheck
> Running 'mysqlcheck' with connection arguments: '--port=3306' '--
> socket=/var/run/mysqld/mysqld.sock' '--port=3306' '--
> socket=/var/run/mysqld/mysqld.sock'
> mysqlcheck: Got error: 2002: Can't connect to local MySQL server through
> socket '/var/run/mysqld/mysqld.sock' (2) when trying to connect
> FATAL ERROR: Upgrade failed
> 
> Any ideas?
Is mysql running?

-- 
Andrea Scarpino
Arch Linux Developer


More information about the arch-general mailing list