Jump to content

php script error


sumsar2

Recommended Posts

Have you created the database that it's trying to access properly including user accounts and access permissions? I would recommend changing the username to something else. Most people just create an account with just as much access as it needs to run the php script. You can create databases and users and all that through cPanel. Just make sure you change the php script to use the users and databases you create.

Link to comment
Share on other sites

Ok I will se if that works out.

 

How much acces should i give the user?

That depends on what the script needs to do. If it takes user input and inserts it into the database it will need write access to do that, but if it's just reading data out of there it will only need read (select) access.

 

If in doubt and you're not worried too much about security you could just grant the account full access (all privileges.) Also if you didn't write this script yourself it might be helpful to ask the author what all is needed to get it up and running.

Link to comment
Share on other sites

Another question: Is there anyway for me to change my username to Sumsar?

Yes it is possible, unfortunately I don't think I have the access to change that, or if I do I simply don't know how. I've seen others have their display name changed before though so it's certainly possible.

 

@admins Let me know if I have access to do this. I looked around a bit but couldn't figure out how.

Link to comment
Share on other sites

Join the conversation

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

Guest
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...