| | |
connecting database
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jul 2007
Posts: 15
Reputation:
Solved Threads: 1
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..
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..
•
•
Join Date: May 2005
Posts: 514
Reputation:
Solved Threads: 19
•
•
•
•
username is root by default.
PHP Syntax (Toggle Plain Text)
mysql_connect("localhost","root","")
Ignorance is definitely not bliss!
*PM asking for help will be ignored*
*PM asking for help will be ignored*
![]() |
Similar Threads
- connecting database in javascript (JavaScript / DHTML / AJAX)
- ASP.NET: Connecting to database (ASP.NET)
- submiting info into a database for retrieval! (PHP)
- Error connecting to database (ASP.NET)
- struggling with connecting database to server (ASP.NET)
- mySQL database searching for registration (MySQL)
- php wont submit data into the database (PHP)
Other Threads in the PHP Forum
- Previous Thread: Online voting
- Next Thread: Get Referrer
| Thread Tools | Search this Thread |
ajax apache api array basics beginner binary bounce broken cakephp checkbox class cms code codingproblem combobox cron curl database date display dynamic echo email error file files folder form forms function functions google href htaccess html image include insert integration interactive ip java javascript joomla js limit link login mail menu mlm mobile multiple mysql nodes oop outofmemmory paging parse paypal pdf php problem procedure query radio ram random recursion regex remote return script search server sessions smash sms soap source space sql syntax system table tutorial up-to-date update upload url validation validator variable video web webapplications websitecontactform xml youtube






