Page 1 of 1

Glossword database error

PostPosted: 21. December 2004 22:49
by traderx
Hello I am trying to install a glossary (http://glossword.info) script so I may be able to test locally, I get an error when it is trying to connect to the database... this is all that it tells me

Could not connect to the database `localhost' using username `root'

I do not have a password set, AND I have installed this on my web hosting site so I do know that it can install... the only different info that I did add was my database usermane and pass.... I did use localhost and it installed just fine there.

Any ideas any one?

PostPosted: 24. December 2004 09:20
by traderx
Bump

You need to try access to your database

PostPosted: 27. December 2004 03:35
by chanio
:lol: Hi,
You need to try access to your database by the command line:

Code: Select all
xampp\mysql\bin>mysql -u root -p

And give no password to get in.
Once you know that your root user has no password, you should change it. But first read about it in all the docs.
To be root and have no password is very dangerous (if you care :) ).
Then, you should check that your program has the correct password for your root user. Or just leave it blanck and it should connect like you did.