Problems logging in to database

634 views
Skip to first unread message

mattbailey

unread,
Nov 9, 2010, 4:18:02 AM11/9/10
to SQL Buddy
I have a client who I want to give a limited amount of access to his
database, and this looks like a promising script. However, I'm having
problems logging in.

If I use 'localhost' and my username/password combination it just says
there's an error. If I use the database hostname I use to connect
using php and my username/password combination I get a 500 internal
server error.

I don't know if this makes a difference, but I can't connect to the
database remotely I have to use phpmyadmin that the host provides. It
should make a difference though - surely sqlbuddy connects to the
database in the same way that I connect with my php scripts to put
content onto the page.

Can anyone help?

mattbailey

unread,
Nov 12, 2010, 3:21:55 AM11/12/10
to SQL Buddy
Does anyone have any suggestions? Thanks.

Anshuman

unread,
Nov 12, 2010, 5:08:11 AM11/12/10
to SQL Buddy
When you do get the 500 Internal error, php and apache error logs
would help us analyze the problem.

Please post the relevant snippet from either of the error logs to help
us help you.

Thanks,
Anshuman

nubicurio

unread,
Nov 17, 2010, 10:53:47 AM11/17/10
to SQL Buddy
Hi there,

I kinda have this embarrassing newbie question/problem...I've placed
the sqlbuddy folder directly under /htdocs; I can access
http://localhost/sqlbuddy/login.php just fine, but when I try to log
in, it would hang for about 5 minutes or so before returning a black
page (using firefox). Using Opera, the browser would tell me that:

"Remote server or file not found
You tried to access the address http://127.0.0.1/sqlbuddy/login.php,
which is currently unavailable. Please make sure that the web address
(URL) is correctly spelled and punctuated, then try reloading the
page."

I also tried Adminer, which also failed to connect to the Database and
gave me the following error:

"A connection attempt failed because the connected party did not
properly respond after a period of time, or established connection
failed because connected host has failed to respond."

Apparently I've done something stupid...can anyone help?? I'm on
Windows 7 64bit, Apache 2.2, PHP 5.3.

Thanks!

Reply all
Reply to author
Forward
0 new messages