Previous Thread
Next Thread
Print Thread
Hop To
#27997 07/29/2002 4:09 PM
Anonymous
Unregistered
Anonymous
Unregistered
So, after I finally got everything up and running I decided to follow some of the advised safety precautions. My hosts, however, aren't the sharpest tools in the shed and managed to put the wrong password for the user of the database... I now get this message:

Warning: Access denied for user: 'skyler@localhost' (Using password: NO) in C:\users\schoolscandals\ubbthreads\mysql.inc.php on line 35

Warning: MySQL Connection Failed: Access denied for user: 'skyler@localhost' (Using password: NO) in C:\users\schoolscandals\ubbthreads\mysql.inc.php on line 35
SQL ERROR: Unable to connect to the database!
Access denied for user: 'skyler@localhost' (Using password: NO)
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in C:\users\schoolscandals\ubbthreads\mysql.inc.php on line 45

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in C:\users\schoolscandals\ubbthreads\mysql.inc.php on line 71
SQL ERROR: Unable to do_query: SELECT U_Username,U_Password,U_SessionId, U_StyleSheet, U_Status, U_Privates, U_FrontPage FROM w3t_Users WHERE U_Number = '2'
Access denied for user: 'skyler@localhost' (Using password: NO)
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\users\schoolscandals\ubbthreads\mysql.inc.php on line 83

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in C:\users\schoolscandals\ubbthreads\mysql.inc.php on line 71
SQL ERROR: Unable to do_query: SELECT U_Username,U_Password,U_SessionId, U_StyleSheet, U_Status, U_Privates, U_FrontPage FROM w3t_Users WHERE U_Number = '2'
Access denied for user: 'skyler@localhost' (Using password: NO)
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\users\schoolscandals\ubbthreads\mysql.inc.php on line 83

And I can't login to change it and they can't seem to either. Please advise.

Thanks!

SchoolScandals

#27998 07/29/2002 4:22 PM
Anonymous
Unregistered
Anonymous
Unregistered
You should be able to edit the password of the database offline in the config.inc.php, then re-upload it to your server.

If you're not logged in as Admin, you can't edit it online.

Hope that helps.

#27999 07/29/2002 11:38 PM
Anonymous
Unregistered
Anonymous
Unregistered
Nope, is that the only file that should need editing? It doesn't seem to work.

#28000 07/30/2002 12:21 AM
Anonymous
Unregistered
Anonymous
Unregistered
The error looks to be an error with the DATABASE username and password.

The only place that is stored is inside the config.inc.php

Make sure that you know the correct database username and password, and that they are correct inside the config.inc.php file.

#28001 07/30/2002 4:27 AM
Anonymous
Unregistered
Anonymous
Unregistered
</font><blockquote><font size="1" face="">quote:</font><hr /><font size="" face="">Warning: Access denied for user: 'skyler@localhost' (Using password: NO) in C:\users\schoolscandals\ubbthreads\mysql.inc.php on line 35</font><hr /></blockquote><font size="" face="">Some other possibilities:
The user has not been added to MySQL.
The user doesn't have a password assigned at the MySQL (server) end.
The user doesn't have the correct MySQL grants.

#28002 07/30/2002 11:43 AM
Anonymous
Unregistered
Anonymous
Unregistered
Now it's even more strange. I uploaded config.inc.php with the updates but even when I clear cookies and refresh it still gives me the error with the old username.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Selling a Forum?
by ECNet - 10/10/2026 10:54 AM
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Who's Online Now
1 members (Arden), 617 guests, and 136 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)