[DiscordArchive] anyone have any info on importing the sql file updates?
[DiscordArchive] anyone have any info on importing the sql file updates?
![[Image: image.png?ex=690c207c&is=690acefc&hm=400...59de65fdd&]](https://cdn.discordapp.com/attachments/284406375495368704/1120929539908976731/image.png?ex=690c207c&is=690acefc&hm=40000c78bb3ce4bf81906c858de5b9c72c204a94c95847aab2685d559de65fdd&)
Archived author: Woodsjail • Posted: 2023-06-21T04:13:48.227000+00:00
Original source
cant seem to connect
![[Image: image.png?ex=690c207c&is=690acefc&hm=400...59de65fdd&]](https://cdn.discordapp.com/attachments/284406375495368704/1120929539908976731/image.png?ex=690c207c&is=690acefc&hm=40000c78bb3ce4bf81906c858de5b9c72c204a94c95847aab2685d559de65fdd&)
Archived author: 0xCiBeR • Posted: 2023-06-21T04:31:14.364000+00:00
Original source
By default MySQL is not publicly available
Archived author: 0xCiBeR • Posted: 2023-06-21T04:31:33.195000+00:00
Original source
You need to edit mysql server config to bind to 0.0.0.0
Archived author: 0xCiBeR • Posted: 2023-06-21T04:31:45.073000+00:00
Original source
And grant perms to the user from external ip
Archived author: 0xCiBeR • Posted: 2023-06-21T04:32:12.102000+00:00
Original source
It’s probably easier to just download the file on the server and use the command line MySQL client
Archived author: 0xCiBeR • Posted: 2023-06-21T04:33:38.325000+00:00
Original source
```mysql -u username -p database_name < file.sql```
Archived author: 0xCiBeR • Posted: 2023-06-21T04:34:13.006000+00:00
Original source
Or just add the file to the custom sql updates folder in the core and it will be applied when you launch the server
Archived author: Woodsjail • Posted: 2023-06-21T04:43:24.150000+00:00
Original source
thanks, i also found this -https://www.linode.com/docs/guides/create-an-ssh-tunnel-for-mysql-remote-access/
[Embed: Create an SSH Tunnel for MySQL Remote Access]
This guide will show you how to gain remote access to your MySQL server and database through PuTTY or similar mysql-client using an SSH Tunnel.
https://www.linode.com/docs/guides/creat...te-access/
![[Image: image.png?ex=690c27c2&is=690ad642&hm=bb8...39a278303&]](https://cdn.discordapp.com/attachments/284406375495368704/1120937351011639346/image.png?ex=690c27c2&is=690ad642&hm=bb89fa473c71f227879d90cd1b3879dd60780bacc281e63643d296e39a278303&)
Archived author: Woodsjail • Posted: 2023-06-21T04:44:50.554000+00:00
Original source
where is that folder?
![[Image: image.png?ex=690c27c2&is=690ad642&hm=bb8...39a278303&]](https://cdn.discordapp.com/attachments/284406375495368704/1120937351011639346/image.png?ex=690c27c2&is=690ad642&hm=bb89fa473c71f227879d90cd1b3879dd60780bacc281e63643d296e39a278303&)
Archived author: Woodsjail • Posted: 2023-06-21T05:06:14.381000+00:00
Original source
i think im good