简体   繁体   中英

restrict mysql access on xampp server

I am installing xampp on a system to be sent to a client with a PHP script that connects to mysql. But I want to restrict access to mysql and phpmyadmin, so the user can't access it in any way through the command line or browser unless it's their php script. Can I do this using user permissions and a root password that only I know?

Thanks!

Basically no normal users will know or wants to enter your database.unless they have your hosting details password etc. or hackers. In coding or terms of hacking anything is possible even if u set max security level. Its the matter of time required for people to hack into your databases. don't bother so much just make use of what phpmyadmin have provide us with

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM