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

Problems with the Linux version of XAMPP, questions, comments, and anything related.

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

Postby invadersmustdie » 07. October 2015 23:29

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?
invadersmustdie
 
Posts: 1
Joined: 07. October 2015 23:17
Operating System: MacOS

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

Postby Nobbie » 08. October 2015 10:21

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.
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 45 guests