Board index   FAQ   Search  
Register  Login
Board index php forum :: Database MySQL Installation

Access denied

Installation and configuration iussues

Moderators: macek, egami, gesf

Postby bezmond » Fri Jun 27, 2003 6:07 am

that means the password is wrong. By default, your mysql_connect() command would be:

mysql_connect("127.0.0.1","root","") or die(mysql_error());

Regards,
Andrew
User avatar
bezmond
Moderator
Moderator
 
Posts: 312
Joined: Sat Apr 05, 2003 4:33 am
Location: Mansfield, UK

Re: Access denied

Postby WiZARD » Fri Jun 27, 2003 6:21 am

niatron wrote:i have installed apache, php and sql

testing apache and php all works fine but when i test sql i get this message

Access denied for user: 'root@127.0.0.1' (Using password: NO)

i know it is a simple one but i do need help how to get it to work

thanks in advance

by default root not have a password.... like NULL to you need create it
User avatar
WiZARD
Moderator
Moderator
 
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol


Return to MySQL Installation

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron