Use the following command in your server to allow user to connect from anyhost:
RENAME USER 'root'@'localhost' TO 'root'@'%';
FLUSH PRIVILEGES;Code language: JavaScript (javascript) Use the following command in your server to allow user to connect from anyhost:
RENAME USER 'root'@'localhost' TO 'root'@'%';
FLUSH PRIVILEGES;Code language: JavaScript (javascript)