News

Securing your MySQL installation isn't difficult. Find out how to easily harden MySQL with one command.
First gain access to the MySQL prompt with the command: sudo mysql. Once you’re on the MySQL prompt, create the new database with the command: create database TECHREPUBLIC; Create a USER.
mysql: [Warning] Using a password on the command line interface can be insecure. It's that simple—you've now restored your database dbname in the condition it was when you dumped it.
MariaDB and MySQL are very compatible, and my examples are simple, so whenever I mention MariaDB, you can assume it applies to MySQL as ... In MariaDB and PostgreSQL, to create a database called ...