MySQL Forums
Forum List  »  PHP

Re: MYSql Website won't connect
Posted by: Peter Brawley
Date: September 08, 2020 03:56PM

If the database allows a connection with blank username & password, it's just waiting to welcome its first invader.

There should be a root user with a strong password and all local privs on 127.0.0.1, and there should be an application user that an app uses to access its database(s), also with password.

What MySQL version are you running?

Options: ReplyQuote


Subject
Written By
Posted
September 08, 2020 01:39PM
Re: MYSql Website won't connect
September 08, 2020 03:56PM
September 08, 2020 08:27PM
September 09, 2020 09:33AM
October 25, 2020 03:02AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.