Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 12-29-2003, 05:58 PM   #1
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
MySQL Dilemma

Ok

I got all the db name , user , pass shit correct but i get this


Warning: Access denied for user: 'root@localhost' (Using password: NO) in /usr/........../setup.php on line 3

Warning: MySQL Connection Failed: Access denied for user: 'root@localhost' (Using password: NO) in /usr/home/........./setup.php on line 3
Could not connect

I must be all fucked cause of this Nyquil but am I mising something here?
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-29-2003, 05:59 PM   #2
liquidmoe
Confirmed User
 
Join Date: Mar 2002
Location: NY
Posts: 4,994
Add -p if you are running from command line, otherwise mysql will think you are trying to access the username/db without a password as if there wasnt one on the account.
__________________

Take Luck!
liquidmoe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-29-2003, 06:04 PM   #3
Babaganoosh
♥♥♥ Likes Hugs ♥♥♥
 
Babaganoosh's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
If you just added the user or changed the password you may have to reload mysql before the changes will take effect. I forget to reload a lot.
__________________
I like pie.
Babaganoosh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-29-2003, 06:11 PM   #4
JSA Matt
So Fucking Banned
 
Join Date: Aug 2003
Location: San Diego, CA
Posts: 5,464
Quote:
Originally posted by juicylinks
(Using password: NO)
Apparently, you didn't add the password to the script or messed something up because MySQL is not recieving a password.
JSA Matt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-29-2003, 06:48 PM   #5
pornanza
Confirmed User
 
Join Date: Jul 2003
Location: East Village
Posts: 238
Quote:
Originally posted by JSA Matt


Apparently, you didn't add the password to the script or messed something up because MySQL is not recieving a password.

Yep, this error is very common. If the MySQL details are correct, then make sure that that setup file is being included

ryan
__________________
Eskimo Hoe
QuickWank
Pornanza!
pornanza is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-29-2003, 06:59 PM   #6
CS-Jay
Confirmed User
 
CS-Jay's Avatar
 
Join Date: Oct 2003
Location: Command Central, West Palm Beach, Fl
Posts: 1,794
use this one:

if(!($dbcon = mysql_pconnect("localhost", "username", "password")))
{
print("Failed connection 1 \n");
exit();
}
//select db
if(!mysql_select_db("dbname", $dbcon))
{
print("Failed connection 2 \n");
exit();
}

and don't forget to flush privileges.

and as a tip, you should not be using root to connect to your db, you should create another user.
__________________
I do stuff - aIm CS_Jay_D
CS-Jay is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-29-2003, 07:05 PM   #7
avion
Confirmed User
 
Join Date: Jan 2003
Location: right next to u
Posts: 1,403
it says: Using password: NO

check how did u setup ur pass...
avion is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-29-2003, 08:26 PM   #8
fuzebox
making it rain
 
fuzebox's Avatar
 
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,115
I'm guessing you're not passing any of your authentication information to MySQL, since I doubt you meant to connect as root and it thinks you are, plus the no password note.

What are you installing?
fuzebox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-29-2003, 11:51 PM   #9
Hansm
Confirmed User
 
Join Date: Jun 2002
Posts: 871
Register_global errors maybe?
Hansm is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.