Networknet.nl Blog
Stay Connected
Stay Connected
The following notes were used by me when re-creating and migrating some of the websites on my local virtual machine.
create database networknet;
GRANT ALL PRIVILEGES ON *.* TO 'Ivan'@'localhost' IDENTIFIED BY 'P@ssw@rd1' WITH GRANT OPTION;
sudo /etc/init.d/mysql stop
sudo mysqld_safe --skip-grant-tables
mysql
UPDATE mysql.user SET Password=PASSWORD('P@ssw@rd1') WHERE User='root';
FLUSH PRIVILEGES;
CRTL-C to stop mysqld_safe process
sudo /etc/init.d/mysql start