I had DB cluster and was successfully connected remotely via new droplet with MySQL 8 installed on there.
root@confidential:~# mysql --version mysql Ver 8.0.18 for Linux on x86_64 (MySQL Community Server - GPL) root@confidential:~# mysql -u doadmin -p -h db-mysql-sgp1-****-do-user-******-0.db.ondigitalocean.com -P 25060 -D defaultdb Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 897211 Server version: 8.0.17 Source distribution Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql>
In this new droplet i’m also installing PhpMyAdmin under PHP 7.3, and adding following configuration into /etc/phpmyadmin/config.inc.php
$i++; $cfg['Servers'][$i]['host'] = 'CONFIDENTIAL'; $cfg['Servers'][$i]['user'] = 'USER-CENSOR'; $cfg['Servers'][$i]['password'] = 'PASSWORD'; $cfg['Servers'][$i]['auth_type'] = 'config';
Unfortunately when logeed in using the same user/pass that worked in SSH terminal (as shown above), the PhpMyAdmin shown following errors
Error MySQL said: Documentation #2054 - The server requested authentication method unknown to the client mysqli_real_connect(): The server requested authentication method unknown to the client [caching_sha2_password] mysqli_real_connect(): (HY000/2054): The server requested authentication method unknown to the client phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
How to connect into DB cluster with PhpMyAdmin ?
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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!