Skip to content

v2.1.0 - Connect to your database from your PC

Choose a tag to compare

@DennisObject DennisObject released this 06 Nov 11:06
· 46 commits to main since this release
5f69554

You can now connect to your hotel database from your own PC, for example with HeidiSQL. You do not need to install the hotel again: run the installer once more on your Linux server with --remote-database and your PC's IPv4 address.

curl -fsSL https://raw.githubusercontent.com/plus-emulator/plusemu-installer/main/install.sh | sudo bash -s -- --remote-database 203.0.113.7
  • New: --remote-database <addresses> (or PLUSEMU_REMOTE_DATABASE) opens port 3306 only to these IPv4 addresses or networks, separated by commas. Every other address stays blocked.
  • New: at the end, the installer prints what to fill in on your PC: the server's IP address, port 3306, user hotel, database plus and the password.
  • New: --remote-database off closes the database again. Later runs keep the saved addresses.
  • Opening or closing the database restarts MariaDB and the emulator, so players are disconnected for a moment.
  • Linux only for now. A local install (--local) does not need it: connect to 127.0.0.1.