Computer ForumsComputers  

Go Back   Computer Forums > Programmers Lounge > Programming Discussions

Reply
 
LinkBack Thread Tools Display Modes
Old 05-11-2004, 03:08 PM   #1 (permalink)
Newb Techie
 
Join Date: Apr 2004
Posts: 15
Lightbulb MySQL/PHP Question re: login

Hi all
I just recently installed Apache 2.0, PHP 4, and MySQL 4. I've got the Apache server with PHP running great, and I've got MySQL running good too, even created some tables with data.
I have a question about how you originally login. For some reason, when I try to login as root it says something about no password. I've tried setting the root password and it seems to work but it won't let me log in as root@localhost. Thus, when I create a MySQL connection with PHP, it won't connect, because you need to specify a username and password, and I don't appear to have any.
any help would be great.
wagnj1 is offline   Reply With Quote
Old 05-11-2004, 05:55 PM   #2 (permalink)
Super Techie
 
Join Date: Apr 2004
Posts: 316
Default

If you set a password for the root user clear it away. Default for the root is nothing not that you can't have one but I just suggest you leave it blank if your just testing locally.

Go on google, and search for MySQL Front it's an application that helps you deal with your DB's without the console windown, and all the typing and stuff.

Once you get it and establish a connection on the Menu bar at the top go to Database>>New>>User and create a new user. Then use that login for when you want to test scripts, and things like that.
__________________
BlazingWolf



Gaming-Forums.org


BlazingWolf is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:40 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0