Could someone please explain to me how to connect to a MySQL Database?

I use the following code but I used the real password, and not “12345678”:

But it gives me this error message:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user ‘root’@’localhost’ (using password: YES) in C:\xampp\xampp\htdocs\mysql.php on line 3 Access denied for user ‘root’@’localhost’ (using password: YES)

What does this mean?

Answer #1

ok, it wouldn’t let me put the code that I use in :/ I can FunMail it to the person that can help.

Answer #2

Are you running a web-server off your computer?

Answer #3

Aw, I don’t think I will have time to find out but you can message it to me if you want still.

Answer #4

Before you can use MySQL at all, you need to create a database for yourself on your Control Panel.

http://funadvice.com/r/bq5eom5mj7h

Answer #5

You can connect to MySQL database server using mysql command line client or using programming language such as PHP or perl.

http://www.oratc.com

More Like This
Ask an advisor one-on-one!

Connect Infosoft Technologies...

Technology, Data Analytics, Software

Connect Broadband Chandigarh ...

Internet Service Provider, Telecommunications Service, Fiber Optic Internet Provider

Fastrak Connect

Technology, Telecommunications, Internet Services

Fastrak Connect

Technology, Telecommunications, Business Services

M-Connect Solutions

Web Development, Mobile App Development, Ecommerce Solutions