mysql_dsn error on amp config - why am I getting "access denied"?
Just in case anybody else has this issue when they try to use amp config with CiviBuild.  It is probably not entirely clear that you first need to create the user that you are inputting into the Enter dsn&gt;
You first need to create a user in mysql with sufficent privileges.  Remember, one does not log in as root anymore! Use 'sudo su' and then run your MySQL commands. There are plenty of resources to show you how to do this, but on MySQL ver 5.7.heres's what to do:
user@ubuntu: sudo su
user@ubuntu: mysql
mysql&gt; CREATE USER 'newusername'@'localhost' IDENTIFIED BY 'yourpassword';
This creates your new user - just replace 'newusername' with whatever you wish e.g. 'itadmin'.  The same goes for the password (the security is up to you but be secure if you ever build production servers)
Now grant the permssions that amp requires:
mysql&gt; GRANT ALL PRIVILEGES ON * . * TO 'newusername'@'localhost' WITH GRANT OPTION;
Flush all privileges with:
mysql&gt;FLUSH PRIVILEGES;
The WITH GRANT OPTION is important as this will allow the user to be able to grant options on other users by a script.
exit from Mysql and then from su with two lots of exit command.  You now have a user that you can put into amp config for the dsn section.
Remember! You have just created what is effectively a root user on your MySQL database