Jump to content
  • 0

Fluc CP can't connect


WhiteEagle

Question


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  461
  • Reputation:   61
  • Joined:  08/28/12
  • Last Seen:  

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',

Link to comment
Share on other sites

12 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  225
  • Reputation:   39
  • Joined:  01/20/12
  • Last Seen:  

make sure that your mysql server is on and running

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  461
  • Reputation:   61
  • Joined:  08/28/12
  • Last Seen:  

Thanks for your fast answer, but I checked it already.

I got the error anyway. :(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  225
  • Reputation:   39
  • Joined:  01/20/12
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  461
  • Reputation:   61
  • Joined:  08/28/12
  • Last Seen:  

Thanks again. But it doesn't help :(

And this is for error (13), I need it for (111).

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  59
  • Topics Per Day:  0.01
  • Content Count:  396
  • Reputation:   53
  • Joined:  07/24/12
  • Last Seen:  

please portforward 3306

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  461
  • Reputation:   61
  • Joined:  08/28/12
  • Last Seen:  

Can you give me the mysql code für centos?

It would be nice.

Edited by WhiteEagle
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

Hi WhiteEagle,

Is your Ragnarok Athena server hosted on the same server as your FluxCP? Or is your FluxCP on another host/webhost?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  461
  • Reputation:   61
  • Joined:  08/28/12
  • Last Seen:  

@Asura

rAthena and the control panel are on the same server.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  461
  • Reputation:   61
  • Joined:  08/28/12
  • Last Seen:  

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 by WhiteEagle
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

Hi WhiteEagle,

Try using your VPS's IP instead of 127.0.0.1; see what error pops up from that.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  461
  • Reputation:   61
  • Joined:  08/28/12
  • Last Seen:  

Nothing changed :/

I got the same error. /pif

I think, I try to reinstall my vServer. Maybe it work after this.

Btw, many thanks that you try to help me.

Edited by WhiteEagle
Link to comment
Share on other sites

×
×
  • Create New...