





Вам необходимо включить удаленный доступ mysql в вашей cpanel.
Log into cPanel. Click the Remote MySQL button in the Databases section. Enter the remote IP address in the Add Access Host section. Click the Add Host button. You will then see a message stating the host IP address was added to the access list.
Для получения дополнительной информации с изображениями я нашел https://www.inmotionhosting.com/support/website/databases/setting-up-a-remote-mysql-connection-in-cpanel
Извините, я не могу написать комментарий из-за представителя.
Эту часть я сделал. Я хочу подключиться к приложению laravel с этой удаленной базой данных mysql. Я попытался, но он покажет, что доступ запрещен.