Xampp 1.8.3-2 no connection to MySQL Database

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

Xampp 1.8.3-2 no connection to MySQL Database

Postby AlPen » 20. February 2014 09:38

Who has an idea to fix the problem? Just right after installing XAMMP runs without any problems. After relaunching the system ( OS X 10.6.8 ) MySQL won't start again. The Apache Webserver is working fine.

2014-02-20 08:33:32 454 mysqld_safe Starting mysqld daemon with databases from /Applications/XAMPP/xamppfiles/var/mysql
Warning: World-writable config file '/Applications/XAMPP/xamppfiles/etc/my.cnf' is ignored
2014-02-20 08:33:33 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2014-02-20 08:33:33 540 [Warning] Setting lower_case_table_names=2 because file system for /Applications/XAMPP/xamppfiles/var/mysql/ is case insensitive
2014-02-20 08:33:33 540 [Note] Plugin 'FEDERATED' is disabled.
2014-02-20 08:33:33 540 [Note] InnoDB: The InnoDB memory heap is disabled
2014-02-20 08:33:33 540 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2014-02-20 08:33:33 540 [Note] InnoDB: Compressed tables use zlib 1.2.8
2014-02-20 08:33:33 540 [Note] InnoDB: Using CPU crc32 instructions
/Applications/XAMPP/xamppfiles/sbin/mysqld: Can't create/write to file '/var/folders/58/584MRqtCHialcW7ArHr7W++++TI/-Tmp-/ibQw6GmA' (Errcode: 13 - Permission denied)
2014-02-20 08:33:33 101114cc0 InnoDB: Error: unable to create temporary file; errno: 13
2014-02-20 08:33:33 540 [ERROR] Plugin 'InnoDB' init function returned error.
2014-02-20 08:33:33 540 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2014-02-20 08:33:33 540 [ERROR] Unknown/unsupported storage engine: InnoDB
2014-02-20 08:33:33 540 [ERROR] Aborting
AlPen
 
Posts: 3
Joined: 20. February 2014 09:14
XAMPP Version: 1.8.3-3
Operating System: OS X 10.6.8

Re: Xampp 1.8.3-2 no connection to MySQL Database

Postby Nobbie » 20. February 2014 12:07

>Warning: World-writable config file '/Applications/XAMPP/xamppfiles/etc/my.cnf' is ignored

Obviously, you changed permissions of the XAMPP installation folder after installation. Therefore the configuration file of MySQL "my.cnf" (see above for full path) is ignored. This leads to subsequent errors. Due to http://stackoverflow.com/questions/1309 ... phpmyadmin you have to change permissons of my.cnf to 600 (chmod 600 my.cnf).
Nobbie
 
Posts: 6919
Joined: 09. March 2008 13:04

Re: Xampp 1.8.3-2 no connection to MySQL Database

Postby AlPen » 20. February 2014 14:50

@Nobbie
Thank you very much for your good advice, all is running perfect now :-)
AlPen
 
Posts: 3
Joined: 20. February 2014 09:14
XAMPP Version: 1.8.3-3
Operating System: OS X 10.6.8

Re: Xampp 1.8.3-2 no connection to MySQL Database

Postby nikib3 » 29. April 2014 10:48

Hi, would appreciate some help please. I've just uploaded the latest XAMPP version (4 times!!). I've completely removed all previous versions of XAMPP and started with a clean slate each time. I have diligently gone over permissions - all is well there. Apache Web Server works fine but when I start the MySQL Database it starts, then stops, with no error message. I've checked on line and others appear to have the same issue but with different solutions. One of the fixes suggested using Applications/Utlities/Terminal and to type in: cd /Applications/XAMPP/xamppfiles/etc/ (recommended by Rishi Kalia). The problem is that when I enter the code provided, I get the following message:

apples-MacBook-Air:~ nikibullas$ cd/Applications/XAMPP/xamppfiles/etc/
-bash: cd/Applications/XAMPP/xamppfiles/etc/: No such file or directory
apples-MacBook-Air:~ nikibullas$

Does anyone have any other suggestions for me please, I've wasted way too much time on this. Very frustrating, so close ....

I would be very grateful if someone can come up with a fix - I am not a techie, so it will need to be in simple language and easy steps :?:
nikib3
 
Posts: 1
Joined: 29. April 2014 10:05
XAMPP Version: 5.5.19
Operating System: Mac OS X Lion 10.7.5


Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 5 guests