raevillena
Honorary Poster
- Joined
- May 28, 2013
- Posts
- 279
- Reaction
- 480
- Points
- 180
- Age
- 28
I sharing some snippets how to install MariaDB 10.5 in ubuntu 20.0x
1) open up a terminal inside ubuntu. or if you are in CLI already skip this step.
2) paste the code snippet below to install the Database engine.
You do not have permission to view the full content of this post. Log in or register now.
Code:
mysql_secure_installation
4) Login to engine using root user
Code:
mysql -u root -p
5) Once inside, Create a non root user for your apps
Code:
CREATE DATABASE testdb;
CREATE USER 'test'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON testdb.* TO test@localhost;
FLUSH PRIVILEGES;
quit
Code:
mysql -u test -p
USE testdb;
Attachments
-
You do not have permission to view the full content of this post. Log in or register now.