Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

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!
mysqldump --lock-all-tables -u root -p --all-databases > dump.sql - this will dump (and later overwrite while importing) also all users and their passwords, especially root and debian-sys-maint (this one will cause issues with logrotate - http://www.lornajane.net/posts/2008/Logrotate-Error-on-Ubuntu ). Please update this tutorial to reflect this. Thank you very much!
Do you think there could be any repercussions if this is done in Ubuntu 12.10?
Thanks in advance.
What about security? Aren’t the two servers communicating in the open? Is it possible to tunnel the communication between the two servers? For example, SSH-tunneling between replication servers is rather common. Would something similar work here?
Thank you.
Can you show me how to create the complete database with the ip of my web app?
CREATE DATABASE your-db-name;
CREATE USER your-db-username@localhost;
SET PASSWORD FOR your-db-username@localhost= PASSWORD("your-db-password");
GRANT ALL PRIVILEGES ON your-db-name.* TO your-db-username@localhost IDENTIFIED BY 'your-db-password';
I am trying to follow this tutorial for ubuntu 16.04. I couldn’t find “bind-address” on “/etc/mysql/my.cnf”. I searched on other directories and found it on “/etc/mysql/mysql.conf.d/mysqld.cnf”. I updated it to my droplet’s private ip, but when i try to restart mysql I get the following error:
Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details.
What am I doing wrong?