Jump to content

connect to mysql


zeusthegreat

Recommended Posts

my wampserver version is WampServer2.2a-x64

 

i tryed all yesterday to get my mysql_connect.php

 

 

but i kept on getting

 

a error that indicates that the username or password is incorrect

 

! ) Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'talos342c'@'localhost' (using password: YES) in C:\wamp\www\myNewweb\storescripts\connect_to_mysql.php on line 19 Call Stack # Time Memory Function Location 1 0.0021 666856 {main}( ) ..\mysql_quicktest.php:0 2 0.0037 672280 require( 'C:\wamp\www\myNewweb\storescripts\connect_to_mysql.php' ) ..\mysql_quicktest.php:3 3 0.0038 673248 mysql_connect ( ) ..\connect_to_mysql.php:19 could not connect to mysql

 

 

no i have tryed typing in my password and username in add a user a nd giving the user all privileges

 

the server actually delievers the local host page but all i keep getting now is the above error

 

i tryed since to in mysql console window - setting a password for the root folder and now instead of passord :yes i get password no

 

i did flush all privileges when i had set my password in mysql console

 

 

Link to comment
https://forums.phpfreaks.com/topic/250232-connect-to-mysql/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.