Tips and tricks

Add user / admin to mysql
Posted on May 31 2023 / in WordPress
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;
Recent Comments
- admin on Vimeo Thumbnail Generator
- Robert Moeck on Vimeo Thumbnail Generator
- Rainer on Vimeo Thumbnail Generator
- Video Gallery WordPress Plugin /w YouTube, Vimeo, Facebook pages | Berita Online on Vimeo Thumbnail Generator
- Use Browserify Globally as Watcher in PhpStorm [ add Babelify ] – Digital Zoom Studio on Setup a .babelrc in your user directory