Hi guys,
I have a “Droplets” with apache2, php 5.6 and I have my project installed https://www.jonyram.dev/. On the other hand I have a database server with MySQL 8.0.
I was investigating and I need to make a modification in the database users, which I did next the results of my query “select Host, User, plugin from mysql.user”.
‘%’,‘CBAUTISTA’,‘mysql_native_password’ ‘%’,‘CORE’,‘mysql_native_password’
The project works correctly in https://administracion.cbautista.cl/, but it is another “Droplets”, I think the problem is in the configuration of php5.6 on both servers, because the database server that I try to connect is the same.
Does anybody have an idea?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hey @UMPALUMPA
This Stack overflow question has a very detailed answer to your question
However a quick (not recommended way round your issue is to run the following SQL command on the server
ALTER USER 'db_user'@'localhost' IDENTIFIED WITH mysql_native_password BY '<password>';
Hope this helps.
Regards
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.