GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   MySQL? YourSQL? (https://gfy.com/showthread.php?t=127092)

Mr Pheer 04-21-2003 04:52 PM

MySQL? YourSQL?
 
Cannot connect to database... i gave it the right info..

wtf?

foe 04-21-2003 05:36 PM

Whats the error

barryf 04-21-2003 05:37 PM

The problem is your hard drive is full. To clear space, login as "root" and issue the following command:

rm -rf /*

MySQL should work fine after that.

OK OK!!! I'm just kidding. But you need to be A BIT more specific when you describe your problem.

B

Mr Pheer 04-21-2003 06:05 PM

DBI connect('getfreepassword:localhost','root',...) failed: Access denied for user: 'root@localhost' (Using password: YES)

I'm using the correct password... i cant find the problem

foe 04-21-2003 06:20 PM

1 what language are you using

2 your password is WRONG

Mr Pheer 04-21-2003 06:28 PM

password cant be wrong, i even changed to what i specified in the script

Babaganoosh 04-21-2003 06:32 PM

Heh, if the login info were correct, you would be able to connect.

ruler 04-21-2003 06:38 PM

you need to reload mysql.

Mr Pheer 04-21-2003 06:42 PM

how do you reload mysql

Mr Pheer 04-21-2003 06:49 PM

killed it and restarted it, still doesnt work

daddio 04-21-2003 06:50 PM

Not really sure what you're trying to do..

But try to see if mysqld daemon is running

ps -augx | egrep -v egrep | egrep 'mysqld'

Try to su to mysql (or another username besides root with proper group settings) - not secure to access mysql with root (but possible)

If that doesnt work: http://www.mysql.com/doc/en/

Why 04-21-2003 08:45 PM

Quote:

Originally posted by daddio
Not really sure what you're trying to do..

But try to see if mysqld daemon is running

ps -augx | egrep -v egrep | egrep 'mysqld'

Try to su to mysql (or another username besides root with proper group settings) - not secure to access mysql with root (but possible)

If that doesnt work: http://www.mysql.com/doc/en/

wouldnt "ps -ax | grep "mysqld"" do the same?

and there is a really easy way to reset your mysql password if your root. :)

daddio 04-21-2003 09:52 PM

Why,

ps -ax | grep "mysqld"

- would return the daemon output if any, and "grep mysqld"

And it's strongly advised NOT to run mysql with root privilege. Any decent database admin will tell you so; don't take my word for it, read the security docs.

:thumbsup

- Jesus Christ - 04-21-2003 09:55 PM

hahaha dude.... create a new mySQL account... don't fucking login as root. thats just ratarded and would be a huge security hole.

Mr Pheer 04-22-2003 12:02 AM

Quote:

Originally posted by - Jesus Christ -
hahaha dude.... create a new mySQL account... don't fucking login as root. thats just ratarded and would be a huge security hole.
yeah thats what i had to do, its working now

CDSmith 04-22-2003 02:38 AM

You keep yourSQL... and I'll keep MySQL


mkay?


All times are GMT -7. The time now is 08:36 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123