{"data":{"external_id":1512,"slug":"how-do-i-install-a-database-on-my-server","title":"How do I install a database on my server?","content":"We offer you a convenient and fast way to install a database server in our app installer. You need this for example for game servers, plugins or websites.\nFor administration you can also install phpMyAdmin automatically.\nIn the web interface, click on the server on which you want to install a database and open the associated cloud manager.\nScroll down to the &#8222;Actions&#8220; box and select &#8222;App Installer&#8220;.Select the &#8222;Web Server Utilities&#8220; app.Select all packages:Apache2 for phpMyAdminPHP 7.4 for phpMyAdminMariaDB (database server)Choose a MySQL root passwordphpMyAdmin\nClick Start installation to start the installation. This process will take 2-3 minutes.\nWhen the process is complete, you will receive login credentials.\nWe will install the administration interface for your database so that it is accessible at http:\/\/IP\/phpmyadmin.\nThe username for the database is &#8222;root&#8220;.\nThe access data for the database will be shown to you after the installation. You will also find the MySQL root password on your server in the hidden file \/root\/.mysql-password.\nmysqli_real_connect(): (HY000\/1698): Access denied for user \u201alocalhost\u2019@\u2019localhost\u2018\nIf the login to phpMyAdmin does not work, please proceed as follows:\nLog in to your server via Putty or similar in SSH and enter the following command:\nMYSQL_PWD=$(cat \/root\/.mysql-password) echo \"ALTER USER 'root'@'localhost' IDENTIFIED VIA mysql_native_password USING PASSWORD('$MYSQL_PWD');\" | mysql\nThis will reset the MySQL password again if only socket authentication is available after installation.\nIf you still have problems or a question, feel free to contact us in support.","schema":null,"facts":[],"links":[]}}