Jump to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[solved] MySQL Issue

Featured Replies

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

  • Author

Ofcourse it is.

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?

  • Author

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.

Something in any log-file? there must be something.

  • Author

Found the misconfig in the my.cnf file. It didn't allow remote access... duh

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

  • Author

Well maybe php wasn't able to access it... I don't know, but it works now. Time to test it!

Archived

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

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.