problem connecting MySQL

Problems with the Windows version of XAMPP, questions, comments, and anything related.

problem connecting MySQL

Postby vinothika » 11. March 2006 05:55

hi....
i am new to php. The problem that i am facing is whenever i connect mysql in php code it gives error that "access to ODBC@localhost is denied..." since i am planning to do a small project in PHP, can u please help me out in solving this problem.
vinothika
 
Posts: 4
Joined: 10. March 2006 15:55

Postby Smartkid » 11. March 2006 05:57

im having this same problem with trying to install a forum, any help?
Smartkid
 
Posts: 6
Joined: 09. March 2006 20:01

Postby cj_nza » 11. March 2006 09:44

What parameters are you supplying in your mysql_connect() function?
cj_nza
 
Posts: 53
Joined: 06. September 2005 11:49

Reg. Connecting Mysql

Postby vinothika » 13. March 2006 09:56

Hi all...
My problem solved.. one of my friend suggested me. i found some other person in this group also having some problem..
what i did is...
1. open http://localhost
2. Goto PHPMYadmin (on the leftside of the home page)
3. There is an option to change /to create password for MySQL.
4. I created a new username and password.
5. Refresh ur MySQL
6. when u try to connect Mysql_connect("localhost","username","password")
7. It runs perfectly.

bye...
[/i]
vinothika
 
Posts: 4
Joined: 10. March 2006 15:55


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 140 guests