mysql_connect() not working [SOLVED]

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

read the mysql manual/faq, the section: i lost my root password (or lost password). I'm sure it exists, because i've been there :D (long time ago)
magicrobotmonkey
Forum Regular
Posts: 888
Joined: Sun Mar 21, 2004 1:09 pm
Location: Cambridge, MA

Post by magicrobotmonkey »

or, if its empty, just reinstall it, paying close attention whenever it says anything about passwords
User avatar
James M.
Forum Contributor
Posts: 119
Joined: Wed Mar 31, 2004 6:41 pm
Location: Tallahassee

Post by James M. »

I did look for the "i forgot my user name and password" in the manual, that manual isn't so good for troubleshooting. I also tried reintalling numerous times paying careful attention to anything about passwords, but to no success. I'm not quitting on this. I've tried to connect through the database through php, c++, and the mysql bin .exe(s) and they all say i do not have access. I never set a password or username and the manula does not talk about a default password and says the default user name may be root, which i have tried already.
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

User avatar
James M.
Forum Contributor
Posts: 119
Joined: Wed Mar 31, 2004 6:41 pm
Location: Tallahassee

Post by James M. »

I'd kiss you if you weren't a man. Thanks a lot. Didn't see that section of the manual, oops. Thanks to all that attempted to help me too.
Post Reply