Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian install mariaDB #61

Open
ysl2 opened this issue May 10, 2024 · 1 comment
Open

Debian install mariaDB #61

ysl2 opened this issue May 10, 2024 · 1 comment
Labels

Comments

@ysl2
Copy link
Owner

ysl2 commented May 10, 2024

Install

Install via docker: https://mariadb.com/kb/en/installing-and-using-mariadb-via-docker/

or:

sudo apt install mariadb-server mycli -y
sudo mariadb-secure-installation

Create normal user with root permission

-- Ref: https://www.digitalocean.com/community/tutorials/how-to-create-a-new-user-and-grant-permissions-in-mysql
-- Note: `sammy` is your username, `password` is your strong password.
CREATE USER 'sammy'@'localhost' IDENTIFIED BY 'password';

Login

If you use docker, use:

mariadb -h 127.0.0.1 -P 3306 -u root -p

else, use:

mariadb -u root -p
mariadb -u sammy -p
@ysl2 ysl2 added the debian label May 10, 2024
@ysl2
Copy link
Owner Author

ysl2 commented Jun 11, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant