MySQL is a free relational database management system.
To begin with, we update the lists of packages and repositories of the system:
Adding a repository MariaDB:
Installing MariaDB:
Next, activate the program using the command
Symbol «;» is required in SQL-запросах!
Choosing MySQL:
Creating the first user:
Now we are creating a Database:
Using two commands, we give the user access to the Database:
Opening the database from the outside:
If you need to connect to MySQL not from localhost, then you need to edit /etc/mysql/my.cnf, find the bind-address string so that it looks like this:
Restarting MySQL:
Last updated