Help regarding Localhost

by 3 replies
4
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!
#programming #localhost
  • are you using wampserver? You should be able to use root user/password and have access to everything.
  • 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!
  • 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

Next Topics on Trending Feed

  • 4

    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!