[DiscordArchive] hello how to do i set the auth db 's realmlist table with my lan ip ?
[DiscordArchive] hello how to do i set the auth db 's realmlist table with my lan ip ?
Archived author: cow monster • Posted: 2022-04-12T20:49:16.959000+00:00
Original source
hello how to do i set the auth db 's realmlist table with my lan ip ?
Archived author: cow monster • Posted: 2022-04-12T20:49:31.365000+00:00
Original source
dont have sql client so doing through command line
Archived author: ModoX • Posted: 2022-04-12T20:50:43.300000+00:00
Original source
```
mysql -u <user> -p
<enter password>
USE auth;
UPDATE realmlist SET address='<ip>';
```
Archived author: cow monster • Posted: 2022-04-12T20:51:33.544000+00:00
Original source
oh nice i think thats what i needed!
Archived author: ModoX • Posted: 2022-04-12T20:52:46.961000+00:00
Original source
technically you'd wanted to use `WHERE` aswell in the UPDATE statement, but i guess you only have one entry, so it doesnt matter 
Archived author: cow monster • Posted: 2022-04-12T20:53:41.061000+00:00
Original source
well what would the WHERE part be
Archived author: ModoX • Posted: 2022-04-12T20:54:13.527000+00:00
Original source
`UPDATE realmlist SET address='<ip>' WHERE id=<realmid>;`
Archived author: cow monster • Posted: 2022-04-12T21:10:43.604000+00:00
Original source
that did it thanks !