ieda Posted January 30, 2008 Share Posted January 30, 2008 any1 can translate this error 4 me... Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'coda_t'@'localhost' (using password: YES) in C:\xampp\htdocs\prjct\db_connect.php on line 2 Error connecting to mysql Quote Link to comment https://forums.phpfreaks.com/topic/88497-anybody-can-help-me/ Share on other sites More sharing options...
valtido Posted January 30, 2008 Share Posted January 30, 2008 it means that you have used the wrong username or password to connect to database go to db_connect.php and enter the correct username and password where it asks you to do so Quote Link to comment https://forums.phpfreaks.com/topic/88497-anybody-can-help-me/#findComment-453017 Share on other sites More sharing options...
ieda Posted January 30, 2008 Author Share Posted January 30, 2008 thanks... but can u help me how to connect sybase with apache...? that the reason i got the error coz i don`t no how to connect. :'( Quote Link to comment https://forums.phpfreaks.com/topic/88497-anybody-can-help-me/#findComment-453025 Share on other sites More sharing options...
valtido Posted January 30, 2008 Share Posted January 30, 2008 I have no idea about sybase.lool sorry Quote Link to comment https://forums.phpfreaks.com/topic/88497-anybody-can-help-me/#findComment-453026 Share on other sites More sharing options...
trq Posted January 30, 2008 Share Posted January 30, 2008 You should probably start by using sybase_connect rather than mysql_connect. Quote Link to comment https://forums.phpfreaks.com/topic/88497-anybody-can-help-me/#findComment-453029 Share on other sites More sharing options...
valtido Posted January 30, 2008 Share Posted January 30, 2008 $link = sybase_connect('database', 'username', 'password') or die("Could not connect !"); Quote Link to comment https://forums.phpfreaks.com/topic/88497-anybody-can-help-me/#findComment-453033 Share on other sites More sharing options...
ieda Posted January 30, 2008 Author Share Posted January 30, 2008 thanks... i`ll try 1st... Quote Link to comment https://forums.phpfreaks.com/topic/88497-anybody-can-help-me/#findComment-453036 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.