Jump to content

Recommended Posts

Posted

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? :huh: 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. :D

 

Serena-chan

Posted

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

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...