One PHP MYSQL problem

Status
Not open for further replies.

demoninside

In the zone
Hi Guys,

now here is the prob,
I am using WAMP 5 server which concludes php5 & MYSQL 4.1
now when i change to mysql directory & then to bin
but when i try to connect through "mysql -p root -p <enter> password"
then it's throwing error, that is
host "localhost" is not allowed to connect to this MYSQL server

and all my Database connections are not working
can some one please explain this in details.................
 

harmax

Journeyman
try this

mysql -u root -p<password><enter>

yes no space b/w -p and password

about localhost : when try mysql-admin it does not allow u to connect to localhost but it insists on either using

localhost.localdomain

[or]

127.0.0.1


and by the way did u create proper users and permissions . the manual that comes along mysql tar archive clearly explains 'em

hope this helps u
 
OP
D

demoninside

In the zone
i just make it working,
exactly my system was corrupted, and mysqld.exe was not working so i reinstalled it and now it's working
 
Status
Not open for further replies.
Top Bottom