New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get Yourls to connect to database #498

Closed
ozh opened this Issue Apr 6, 2013 · 0 comments

Comments

Projects
None yet
1 participant
@ozh
Member

ozh commented Apr 6, 2013

This is a COPY of Issue 498: Cannot get Yourls to connect to database, filed on Google Code before the project was moved on Github.

Please review the original issue and especially its comments. Comments here on closed issues will be ignored. Thanks.

Original description

Trying to run yourls on a godaddy shared hosting account.

Created database. MySQL 5.0.91 according to phpMyAdmin. Can connect to database fine in phpMyAdmin.

Have triple checked username, password, host, db settings in config.php file. Changed password once and confirmed change took with phpMyAdmin.

Error I get:
Error establishing mySQL database connection. Correct user/password? Correct hostname? Database server running? in /home/.../yourls/includes/class-mysql.php on line 298

Weird. Have not attempted debugging yet, wanted to know if this is known issue with MySQL 5.0.91 or GoDaddy hosting before diving into the code.

-Otto
otto@ottodestruct.com

@ozh ozh closed this Apr 6, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment