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!
Hey Melissa,
i had problems when restarting the server: [ERROR] Can’t start server : Bind on unix socket: No such file or directory
I had to create the folder: /var/run/mysqld/
I was working on a fresh and clean Ubuntu 16.04 installation.
This is great - thanks! Would you consider maybe writing a tutorial on adding more nodes (at a later date, once the nodes from this tutorial are in production)? The guide you linked to is definitely not as good as this one and a bit confusing, so it’d be great to have you explain it a bit better.
Thanks!
This comment has been deleted
Setting up mariadb-server-10.1 (10.1.19+maria-1~xenial) … Job for mariadb.service failed because the control process exited with error code. See “systemctl status mariadb.service” and “journalctl -xe” for details. invoke-rc.d: initscript mysql, action “start” failed. dpkg: error processing package mariadb-server-10.1 (–configure): subprocess installed post-installation script returned error exit status 1 No apport report written because the error message indicates its a followup error from a previous failure. dpkg: dependency problems prevent configuration of mariadb-server: mariadb-server depends on mariadb-server-10.1 (= 10.1.19+maria-1~xenial); however: Package mariadb-server-10.1 is not configured yet.
dpkg: error processing package mariadb-server (–configure): dependency problems - leaving unconfigured Errors were encountered while processing: mariadb-server-10.1 mariadb-server E: Sub-process /usr/bin/dpkg returned an error code (1)
$ apt install -f
did not help either
and
$ sudo galera_new_cluster $ mysql -u root -p -e “SHOW STATUS LIKE ‘wsrep_cluster_size’”
ERROR 1524 (HY000): Plugin ‘unix_socket’ is not loaded
If you get this error, ERROR 1524 (HY000): Plugin ‘unix_socket’ is not loaded
after entering this command sudo galera_new_cluster in step 6
sudo service mysql stop
sudo mv /etc/mysql/conf.d/galera.cnf /root
sudo mysqld_safe --skip-grant-tables &
sudo mysql -uroot
https://mariadb.com/kb/en/mariadb/unix_socket-authentication-plugin/
mysql> INSTALL PLUGIN unix_socket SONAME ‘auth_socket’; mysql> quit
sudo mysqladmin shutdown
sudo cp /root/galera.cnf /etc/mysql/conf.d/galera.cnf
Repeat again step 6
Error:
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2 “No such file or directory”)
After following all the steps of a tutorial to make a cluster with galley and mariadb. Everything worked fine until I made a copy and then create a new drop.
No matter what I do I always encounter this error when restarting mysql.
If I never turn off the drop or never recover with a previous image does not give the bug.
But I turn off the drop to make it bigger. Or I just turn it off and on.
It gives me this error and I did not step from this step.
Did anyone else tube this error?
Starting the cluster gives me an error. If I remove this part of server 1, server 2 and server 3.
All start well but it is no longer cluster. I do not know how to put this part to work.
Fantastic tutorial @MelissaAnderson !
Would be nice if you could also add instructions for adding new nodes. I know it’s very important to always keep an odd numbers of Galera node.
Thanks.