1. Change the value of the Host field of a record in the users table of the mysql library to %, oddly enough, you have to set the password with the following statement to make it work
2. update user set Password=PASSWORD("123456") WHERE Host="%";
3. Execute the flush privileges command for immediate effect
Above this mysql allow allhost access is all I have shared with you, I hope to give you a reference, and I hope you will support me more.