Jump to content
Froxlor Forum

Archived

This topic is now archived and is closed to further replies.

petsoukos

[solved] MySQL Issue

Recommended Posts

Hello,

 

I'm having issues setting up froxlor on my VPS. I've filled the correct settings for the database but still it can't connect. I get this message:

 

SQLSTATE[HY000] [2003] Can't connect to MySQL server on '127.0.0.1' (13)

 

I've tried with 'localhost' for hostname, but got another error:

 

SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)

 

I think there might be a misconfiguration on the server, but don't know where to look.

 

I'm running:

CentOS 6.5

Apache 2.2.15

PHP 5.3.3

MySQL 5.1.17

 

Thanks

Share this post


Link to post
Share on other sites

How am I supposed to know? Just trying to figure out where the problem might be. The error-message does not say anything about failed authentification or similar, which tells me, MySQL cannot be reached properly.

 

Can you verify a successful login via shell?

Share this post


Link to post
Share on other sites

Yes, I can login via shell, I can then log into MySQL and work with it. As you stated, the error message doesn't give me anything else to work with that's why I'm asking for any ideas why wouldn't the software connect to it.

Share this post


Link to post
Share on other sites

remote-access? localhost? Don't know how that should be related, but as long as it works - great :)

Share this post


Link to post
Share on other sites





×
×
  • Create New...