WhiteEagle Posted October 9, 2012 Posted October 9, 2012 Hello guys, I hope you can help me. I try to install the Flux Control Panel and got this error: Error: PDOException Message: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '127.0.0.1' (111) I have already read some topics, but i don't find my problem. I hope anyone can help me. Here the settings!! application.php: 'ServerAddress' => 'localhost','BaseURI' => 'CP', 'InstallerPassword' => 'test1234', servers.php: This is only for here an example. I use the same settings from "conf/inter_athena.conf". 'Hostname' => '127.0.0.1','Username' => 'Example', 'Password' => 'example1234', 'Database' => 'flux_example',
Jupeto Posted October 9, 2012 Posted October 9, 2012 make sure that your mysql server is on and running
WhiteEagle Posted October 9, 2012 Author Posted October 9, 2012 Thanks for your fast answer, but I checked it already. I got the error anyway.
Jupeto Posted October 9, 2012 Posted October 9, 2012 try to read and understand your current situation http://www.filonov.com/2009/08/07/sqlstatehy000-2003-cant-connect-to-mysql-server-on-xxx-xxx-xxx-xxx-13/
WhiteEagle Posted October 9, 2012 Author Posted October 9, 2012 Thanks again. But it doesn't help And this is for error (13), I need it for (111).
WhiteEagle Posted October 9, 2012 Author Posted October 9, 2012 (edited) Can you give me the mysql code für centos? It would be nice. Edited October 9, 2012 by WhiteEagle
Asura Posted October 9, 2012 Posted October 9, 2012 Hi WhiteEagle, Is your Ragnarok Athena server hosted on the same server as your FluxCP? Or is your FluxCP on another host/webhost?
WhiteEagle Posted October 9, 2012 Author Posted October 9, 2012 @Asura rAthena and the control panel are on the same server.
Asura Posted October 9, 2012 Posted October 9, 2012 Hi WhiteEagle, Does your Athena server start up properly? Or is this just the FluxCP having issues? Cause I find it hard to believe that you need to open the port when you're trying to just access via 'localhost'. It just seems like the MySQL server isn't accepting any connections, maybe the process is being binded and listening to a specific IP address.
WhiteEagle Posted October 9, 2012 Author Posted October 9, 2012 (edited) Hi Asura, Yea, rAthena start without any problems or error messages. And yes, that is what I can't understand. All other things like phpmyadmin etc. work correctly. Only the control panel can't connect. It is working until I need to type "username" and "database" and press update. After this I get this error... Message: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '127.0.0.1' (111) Edited October 9, 2012 by WhiteEagle
Asura Posted October 9, 2012 Posted October 9, 2012 Hi WhiteEagle, Try using your VPS's IP instead of 127.0.0.1; see what error pops up from that.
WhiteEagle Posted October 9, 2012 Author Posted October 9, 2012 (edited) Nothing changed :/ I got the same error. I think, I try to reinstall my vServer. Maybe it work after this. Btw, many thanks that you try to help me. Edited October 9, 2012 by WhiteEagle
Question
WhiteEagle
Hello guys,
I hope you can help me.
I try to install the Flux Control Panel and got this error:
I have already read some topics, but i don't find my problem.
I hope anyone can help me.
Here the settings!!
application.php:
servers.php:
This is only for here an example.
I use the same settings from "conf/inter_athena.conf".
12 answers to this question
Recommended Posts