Tips and tricks

Add user / admin to mysql

go to MySQL service from the terminal

use

sudo mysql

or

sudo mysql -u root -p

if you have a password

then

CREATE USER 'new_user'@'localhost' IDENTIFIED BY 'password';

then

GRANT ALL PRIVILEGES ON * . * TO 'new_user'@'localhost';

then, to restart privileges

FLUSH PRIVILEGES;

check users with

SELECT user,host FROM mysql.user;

Leave a comment

Your email address will not be published

{"type":"main_options","images_arr":"'#ffffff'","bg_slideshow_time":"0","site_url":"https:\/\/digitalzoomstudio.net","theme_url":"https:\/\/digitalzoomstudio.net\/wp-content\/themes\/qucreative\/","is_customize_preview":"off","gallery_w_thumbs_autoplay_videos":"off","base_url":"https:\/\/digitalzoomstudio.net"}