I recently installed WampServer Version 3.0.6 32bit, i am trying to change the password of mysql. it shows the first error "No database selected". i selected the "MySql" database and try to create a password then it shows "Unknown column 'password' in 'field list'"
The command m using is "update user set password=password('abc@jkl') where user='root';
3.Now in order to change the default password we need to type following query in the MySQL console (in this example we are setting the password to– “foo“)
`SET PASSWORD FOR root@localhost=PASSWORD('foo');`
4. In the older versions of the phpmyadmin we need to manually change the password in the phpmyadmin config file but in the current version we can skip this step.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.