Serena-chan Posted November 19, 2003 Posted November 19, 2003 Okay I was trying to create a new database to set up a nifty guestbook and such myself. Only I get this error of denied access when I am the admin. Why is that happening? Is there something I'm not doing or should be doing? I'm pretty new to this SQL and database stuff so it is most likely something I'm not doing right... any thoughts or help would be greatly appreciated. Serena-chan Quote
TCH-Dick Posted November 19, 2003 Posted November 19, 2003 First question, how are you trying to create the database? are you trying to do it phpmyadmin, or manage mysql? Quote
Serena-chan Posted November 19, 2003 Author Posted November 19, 2003 Okay silly me, but yeah I figured out how to get it to work. I did it in MySQL thingy... originally I'd been trying in the phpMyAdmin, but then I thought why not try the other, so I did and it worked. So yeah, only now I'm getting this weird message when I tested my little guestbook... Could not execute query : INSERT into gb (id,name,email,sitename,siteurl,date,ip,comments) VALUES ('','Me','','Test','Test',now(),'198.49.81.32','').Access denied for user: 'your_username@localhost' (Using password: YES) The sign.html, form.php, and view.php are actually in a sub folder while I'm guessing the database is in the main directory. Could that be causing this or something else? Serena-chan Quote
Serena-chan Posted November 19, 2003 Author Posted November 19, 2003 Okay nevermind... I know exactly what I did wrong, when I saw this other post about something similar... and when I corrected two little lines it worked. So yeah thanks though. Serena-chan Quote
Lianna Posted November 21, 2003 Posted November 21, 2003 ...and welcome to the forums Serena-chan! Quote
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.