Question

MariaDB

Hi,

I already finished the installation shown in Maria’s db site. sudo apt-get install python-software-properties sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db sudo add-apt-repository ‘deb http://mirror.jmu.edu/pub/mariadb/repo/10.0/debian wheezy main’ Once the key is imported and the repository added you can install MariaDB with:

sudo apt-get update sudo apt-get install mariadb-server

… I was looking instructions on how to proceed the post-installation… for example, creating the first database and permissions… I found some info in mysql site, but I’m not sure if applies… Does mariadb is called with “mysql” command or “mariadb”

My vps is running debian 7 64 bits

Thanks


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

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.

MariaDB is a drop-in MySQL replacement. You don’t need to change anything in your code, commands, scripts, etc. <br> <br>Once you replace the Oracle mysql binary with the MariaDB mysql binary (i.e. install mariadb-server) you’re good to go.

I connected to mysql using <br>mysql -h localhost -u root -p <br>I see the default databases (three of them) <br>I think I’m ready to start creating user and databases. <br> <br>