-1

我使用 laravel 框架开发了 POS。我想连接我的托管帐户 MySQL 数据库本地运行 laravel 应用程序。请帮助我将数据保存在 cpanel MySQL 服务器中。

4

1 回答 1

0

You need to enable mysql remote access in your 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.

For more with images i have found https://www.inmotionhosting.com/support/website/databases/setting-up-a-remote-mysql-connection-in-cpanel

Sorry i cant write as comment because of rep.

于 2018-09-05T12:56:19.400 回答