Help regarding Localhost

3 replies
I am running the WebServ program and have loaded mySQL, Apache, and PHP locally for script testing. When I try to run my script, I receive a permissions error. My login is using the root account. Can u use the root account to access all tables?
Thanksx for the help!
#localhost
  • Profile picture of the author SpecStudio
    are you using wampserver? You should be able to use root user/password and have access to everything.
    {{ DiscussionBoard.errors[4338565].message }}
  • Profile picture of the author XoC
    It would be easier for us to debug if you posted the exact error you received.
    Also don't forget to use the code tag!
    {{ DiscussionBoard.errors[4347196].message }}
  • Profile picture of the author mywebwork
    Are you speaking of a MySQL error - your question is rather sparse on details?

    Your database uses an independent list of users, "root" does have the highest authority but is not the same as "root" in your OS.

    Generally it is not a good idea to run any script as root, instead you would use the root account to create additional accounts with the correct access authority. However as you are running locally it is less of a security risk (but still not a good practice).

    Perhaps you could provide some additional details so we can understand your problem better.


    Bill
    {{ DiscussionBoard.errors[4347269].message }}

Trending Topics