[SOLVED] Cannot set password for MySQL server in LAMP stack ... update user set password=PASSWORD("mypassword") where User='root'; ... ERROR 1046 (3D000): No database selected. So, I can now ...