Welcome, Guest. Please Login or Register.
November 27, 2024, 06:53:21 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  HELP !! I killed access to my own db :( « previous next »
Pages: [1] Reply Ignore Print
Author Topic: HELP !! I killed access to my own db :(  (Read 204 times)
riekl
Jr. Member
**
Posts: 89


I'm a llama!

HELP !! I killed access to my own db :(
« on: June 18, 2002, 12:30:23 PM »
Reply with quote

Ok my board is now down .. thats what I get for playing in MySql when I have no idea what I'm doing (was trying to install the phpmychat).

Bottom line is, my mysql by default had no password on the "root" user, i assume this is the user acct the system uses to access the boards.

Well phpmysql simply would _NOT_ install without a password so i figured, fine i'll give the user a password and install it.  So i went to dos ran "mysql mysql" in the bin dir and executed 2 commands

SET PASSWORD FOR root = 'lockme'
\g

and

SET PASSWORD FOR root@localhost = "lockme";

I have no idea which one messed things up, i tried rerunning both commands with "" as the password, my boards are still inaccesible.  (You can see the access denied error @ dmaw.avalys.com).

Please help me unscrew up my system ;)  
Logged
riekl
Jr. Member
**
Posts: 89


I'm a llama!

Re:HELP !! I killed access to my own db :(
« Reply #1 on: June 18, 2002, 04:27:50 PM »
Reply with quote

Giving this a little bump .. this is mission critical my boards are down :(
Logged
David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:HELP !! I killed access to my own db :(
« Reply #2 on: June 18, 2002, 04:30:00 PM »
Reply with quote

Edit the file Settings.php and find the line that sets your mysql password.  Just edit that line so the password is lockme.
Logged

riekl
Jr. Member
**
Posts: 89


I'm a llama!

Re:HELP !! I killed access to my own db :(
« Reply #3 on: June 18, 2002, 04:56:49 PM »
Reply with quote

Ok thats good advice ..

Only .. they were both set to "" blank, which means my mysql was setup to allow anonymous access.  So how did my changing the password on the root user, affect anonymous access to the db ?  Granted secured is much better, but still my chaning the password on root shouldn't have had this effect ?

Regardless this doesn't seem to have helped :(  My page is giving me a 403 error .. this isn't what I would get with a bad SQL access anyway is it ?  Ugh i need help ..
Logged
David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:HELP !! I killed access to my own db :(
« Reply #4 on: June 18, 2002, 05:50:15 PM »
Reply with quote

403 is a forbidden error.  Make sure apache has the correct permissions to your board's directory.
Logged

Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  HELP !! I killed access to my own db :( « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.042 seconds with 21 queries.