Page 1 of 1

Fatal error: Can't change to run as user 'mysql'

PostPosted: 07. October 2015 23:29
by invadersmustdie
Hi all!
I've restored a backup of the folder on a clean machine lampp with Ubuntu 14.04, but mysql doesn't want to start. The log is:

Code: Select all
2015-10-07 23:59:32 1789 mysqld_safe Starting mysqld daemon with databases from /opt/lampp/var/mysql
2015-10-07 23:59:32 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for $
2015-10-07 23:59:32 2169 [ERROR] Fatal error: Can't change to run as user 'mysql' ;  Please check that the user exists!

2015-10-07 23:59:32 2169 [ERROR] Aborting

2015-10-07 23:59:32 2169 [Note] Binlog end
2015-10-07 23:59:32 2169 [Note] /opt/lampp/sbin/mysqld: Shutdown complete

2015-10-07 23:59:32 1789 mysqld_safe mysqld from pid file /opt/lampp/var/mysql/ws.pid ended


I tried to edit the Group and permissions, but refuses to start mysq. Some help?

Re: Fatal error: Can't change to run as user 'mysql'

PostPosted: 08. October 2015 10:21
by Nobbie
Your linux installation lacks the user "Mysql". This is usually created by the installation procedure (which you did not execute). Create user mysql and try again.