iam using wamp server 2....i did not give any usernmae or password for connecting sqlserver
during the process of installation..now when i tried to connect my database through php script using mysql_connect("localhost","","") iam not getting connected..it displays access denied..
how can i get connected to my database..kindly provide help..
gopi kannan -2
Newbie Poster
Recommended Answers
Jump to Postusername is root by default.
mysql_connect("localhost","root","")
Grr! I got beaten by a few seconds again ! :P
All 3 Replies
techniner 2
Posting Pro
nav33n 472
Purple hazed! Team Colleague Featured Poster
nav33n 472
Purple hazed! Team Colleague Featured Poster
Sulley's Boo
commented:
mote, LOL, jaldi bhaaga karr :P +4
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.