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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.