PDA

View Full Version : Not able to connect to my database


ponilla
10-11-03, 10:02 AM
Hi,
I sent this message to support@powweb.com, but it was rejected. :(
So I'm posting it here, hoping for a good soul's compassion.

---------
My domain name is ponilla.org

I lately had MySQL added to my account and I'm just starting to work on it.
I've followed carefully all the instructions provided by the tutorials and FAQs, but I'm having troubles
in accessin my own database.

I configured phpmyadmin for two users - ponillaSQL_anna
and ponillaSQL_greg, filled the requested directives as
teached by the tutorial and installed it on my account
in a directory named phpmyadmin, inside htdocs.
I took care to have all the files stored in ASCII format.

The config.inc.php file is attached here for you to check.

When I try to access www.ponilla.org/phpmyadmin I get a
Welcome page with a frame on the left side with a link
to the database (the database was created by the second
user, ponillaSQL_greg, from an other location) and a
main frame with various links and a drop down menu to
choose between the two configured servers.

If I try the link to the database or the server choice,
sometimes I'm answered by a dialog box saying that the
server ponilla.com does not exist; sometimes I get no
answer at all, but I can see in the status bar that the
browser is trying to contact www.ponilla.com/...

Of course, there is no server called ponilla.com, the
domain name is ponilla.org!




I've run out of ideas, please help me! :confused:

Anna

bdoc
10-11-03, 12:09 PM
First off, for your own security, you should never post your usernames on these forums, nor should you have phpmyadmin setup on your site without password protection. Many here have found out the hard way that bad things can happen to your database if someone gets in it.

Have you been able to successfully connect with your database using MySQL-Front or similar programs? This would be my first recommondation to see if it's something in your configuration for phpmyadmin or it's actually something wrong with the database.

ponilla
10-11-03, 02:37 PM
Originally posted by bdoc
First off, for your own security, you should never post your usernames on these forums,

Indeed. The message was intended for support@powweb.com. I should have reread and edited it before posting it here.
Anyway, users names can be changed.

Should any ill-intentioned guy get into my database, I'd like to know how he managed to do it. :)

nor should you have phpmyadmin setup on your site without password protection.

Know what? I didn't paste here the whole message I'd sent to support, just half of it. Here's the second half:

I tried to set an access protected by password, changing the settings in the config file and installing .htaccess and .htpasswd (now renamed to get them out of the way).
I used the provided encripting tool to encript the passords and copied the given strings in the .htpasswd file (yes, I
used the ASCII option in the FTP transfer!), but when I tried to access my site couldn't get past the login form.

Now, I've disabled the passwords and gone back to the previous onfiguration, but I'm still in deep waters.


Have you been able to successfully connect with your database using MySQL-Front or similar programs? This would be my first recommondation to see if it's something in your configuration for phpmyadmin or it's actually something wrong with the database.

Mhmm ... no, I didn't. I barely know what MySQL-Front is, but I'll try.

Thank you for answering

Anna

ponilla
10-11-03, 03:47 PM
Update:

I tried MySQL-Front and it works. :D
Now what? :confused:

Anna