summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXSNomad <60951221+XSNomad@users.noreply.github.com>2022-09-24 12:12:14 -0400
committerGitHub <noreply@github.com>2022-09-24 18:12:14 +0200
commita43d4746c0c240e9adc2a006a3d6a9e69e0d43aa (patch)
treeb7e6f0df6836b525c00cb5f36b65a5f72be4d03b
parent8d7ed6fa9d154dd3516e84984feaf43bbdeb2cad (diff)
downloadwiki-a43d4746c0c240e9adc2a006a3d6a9e69e0d43aa.tar.gz
wiki-a43d4746c0c240e9adc2a006a3d6a9e69e0d43aa.tar.bz2
wiki-a43d4746c0c240e9adc2a006a3d6a9e69e0d43aa.zip
Adds MySQL CLI (#812)
* Adds MySQL CLI Adds MySQL CLI command line since the CLI was used from https://www.azerothcore.org/wiki/database-installation * Update docs/networking.md * Update docs/networking.md Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
-rw-r--r--docs/networking.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/networking.md b/docs/networking.md
index 569cb34..1f87a90 100644
--- a/docs/networking.md
+++ b/docs/networking.md
@@ -19,7 +19,7 @@ This is where you have to use your internet IP so clients from the internet can
You need to make sure that your **authserver** application directs incoming connections to your realm.
-- Run your chosen database management tool (ex. SQLYog or HeidiSQL)
+- Run your chosen database management tool (ex. SQLYog or HeidiSQL) or with the MySQL command-line interface (CLI).
- If you need to connect to your database from one external machine, read https://www.enovision.net/mysql-ssh-tunnel-heidisql instead open ports to mysql server.
@@ -31,6 +31,13 @@ You need to make sure that your **authserver** application directs incoming conn
- External IP – If you want other people to connect to your server, use your external IP. Visit http://www.whatismyip.com/ to find your external IP address.
+ - MySQL CLI Commands (This step is not needed if you used a MySQL Manager like HeidiSQL)
+ - `$ sudo mysql`
+ - You should see a prompt change to mysql>
+ - use acore_world;
+ - **Replace your IP with the one you've chosen to use from above**
+ - `UPDATE realmlist SET address = '[your_ip]' WHERE id = 1;`
+ - exit
<br>
## Help