Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

access no password in mysql mamp

//Type this on your terminal for no password access to mysql database
//root in -uroot is your username -u[USERNAME]
//-p means password that has nopassword -p[] (NO SPACE)
//NOTE: if you have a password it will be written as -p[PASSWORD] E.G -p12345
Applications/MAMP/Library/bin/mysql -uroot -p

//To change password in mysql terminal/cmd
ALTER USER 'root'@'localhost' IDENTIFIED BY 'New-Password';
 
PREVIOUS NEXT
Tagged: #access #password #mysql #mamp
ADD COMMENT
Topic
Name
9+8 =