MySQL doesn't start AFTER following "Sticky: Wampserver 2.4 ..." guide
Posted by: junghs (122.40.125.---)
Date: January 20, 2014 10:10PM

I downloaded and installed 'WAMPSERVER 64-bit 2.4'.

First it started well, at least the status icon was Green.

Unfortunately after I finished following the post 'Sticky: Wampserver 2.4 What to do after Installing', the WAMPSERVER didn't work properly; MySQL doesn't start. Of course, getting 'http://localhost/testmysql.php' failed; throws 'Warning: mysql_connect()' & 'Could not connect to MySQL: php_network_getaddresses: getaddrinfo failed'.

There seems a problem while loading PHP service, I think... But, hours of googling couldn't find the solution.

Here is my log -


1) apache_error.log

[Tue Jan 21 05:45:17.303600 2014] [mpm_winnt:notice] [pid 10060:tid 424] AH00455: Apache/2.4.4 (Win64) PHP/5.4.12 configured -- resuming normal operations
[Tue Jan 21 05:45:17.304600 2014] [mpm_winnt:notice] [pid 10060:tid 424] AH00456: Server built: Feb 22 2013 22:08:37
[Tue Jan 21 05:45:17.304600 2014] [core:notice] [pid 10060:tid 424] AH00094: Command line: 'E:\\works\\wamp\\bin\\apache\\apache2.4.4\\bin\\httpd.exe -d E:/works/wamp/bin/apache/Apache2.4.4'
[Tue Jan 21 05:45:17.307600 2014] [mpm_winnt:notice] [pid 10060:tid 424] AH00418: Parent: Created child process 5124
[Tue Jan 21 05:45:18.246600 2014] [mpm_winnt:notice] [pid 5124:tid 320] AH00354: Child: Starting 64 worker threads.
[Tue Jan 21 05:48:48.055600 2014] [:error] [pid 5124:tid 856] [client 127.0.0.1:1056] PHP Warning: mysql_connect(): in E:\\works\\wamp\\www\\testmysql.php on line 2
[Tue Jan 21 05:48:48.055600 2014] [:error] [pid 5124:tid 856] [client 127.0.0.1:1056] PHP Stack trace:
[Tue Jan 21 05:48:48.055600 2014] [:error] [pid 5124:tid 856] [client 127.0.0.1:1056] PHP 1. {main}() E:\\works\\wamp\\www\\testmysql.php:0
[Tue Jan 21 05:48:48.055600 2014] [:error] [pid 5124:tid 856] [client 127.0.0.1:1056] PHP 2. mysql_connect() E:\\works\\wamp\\www\\testmysql.php:2


2) php_error.log

[21-Jan-2014 05:19:49 Asia/Seoul] PHP Notice: Undefined offset: 0 in E:\works\wamp\apps\webgrind1.0\index.php on line 28

[21-Jan-2014 05:19:49 Asia/Seoul] PHP Stack trace:

[21-Jan-2014 05:19:49 Asia/Seoul] PHP 1. {main}() E:\works\wamp\apps\webgrind1.0\index.php:0

[21-Jan-2014 05:19:49 Asia/Seoul] PHP Fatal error: Uncaught exception 'Exception' with message 'Could not open E:\works\wamp\tmp/ for reading.' in E:\works\wamp\apps\webgrind1.0\library\Preprocessor.php:49
Stack trace:
#0 E:\works\wamp\apps\webgrind1.0\library\FileHandler.php(171): Webgrind_Preprocessor::parse('E:\works\wamp\t...', 'C:\Windows\Temp...')
#1 E:\works\wamp\apps\webgrind1.0\index.php(30): Webgrind_FileHandler->getTraceReader(NULL, 'percent')
#2 {main}
thrown in E:\works\wamp\apps\webgrind1.0\library\Preprocessor.php on line 49


3) mysql.log

(No more log was written after "THAT" configuration.)


Thanks in advance.


--------------------------------------------

Windows 7 SP1
WampServer Version 2.4
Apache 2.4.4
MySQL 5.6.12
PHP 5.4.12

WampManager icon is Orange

The only entry in the hosts file is localhost

Options: ReplyQuote
Re: MySQL doesn't start AFTER following "Sticky: Wampserver 2.4 ..." guide
Posted by: RiggsFolly (---.as13285.net)
Date: January 20, 2014 10:55PM

Then you have done something wrong. Please check through the sticky again and make sure you have done everything correctly.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.