From f309cf79bbb032a0686b7d04feb8fec18e600a84 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Sat, 12 Jun 2021 14:50:58 +0200 Subject: chore: file naming standard (#517) * A * file naming standard Fixes #491 * Revert "A" This reverts commit 1c225fed753554098069597a2bbcbe08213b76a1. * rename * Revert "rename" This reverts commit 65fd916faf8530ce258cc2b475c93971468680fe. * Revert "file naming standard" This reverts commit 6ca5a703a9e9d59f9c773029e4c04bfd012b6abb. * bye * Hi * Create the-staging-branch.md * 1 * Delete how-to-create-a-PR.md * Create how-to-create-a-pr.md * werafgt * Update the-modular-structure.md * wef --- docs/environment-variable.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 docs/environment-variable.md (limited to 'docs/environment-variable.md') diff --git a/docs/environment-variable.md b/docs/environment-variable.md new file mode 100644 index 0000000..f78bcaf --- /dev/null +++ b/docs/environment-variable.md @@ -0,0 +1,32 @@ +--- +redirect_from: "/Environment-Variable" +--- + +# Environment Variable + +### Introduction +To use MySQL server on the command line, you must have the correct system path. This is usually done automatically. + +How to check if the MySQL server is a Environment Variable: +* Press `Windows + R` and type cmd +* In the CMD opened type `mysql` + +If the MySQL server is not a Environment Variable you will get an error like : `Not recognised command` + +### Requirements +It is a must to have MySQL server already installed, if you don't have MySQL server installed follow [this tutorial](http://www.azerothcore.org/wiki/Requirements) + +### Procedure + +* Locate `mysql.exe`. For example: `C:\Program Files\MySQL\MySQL Server 5.6\bin` +* Search for `Edit the system environment variables` +* Click `Environment Variables` and locate `User variables for $USERNAME` +* Select `Path` variable and click Edit +* Press the `New` button and insert the path to `mysql.exe` you located earlier +* * Example: `C:\Program Files\MySQL\MySQL Server 5.6\bin` + +Now everything is set-up and you can acces `mysql` from the command line. + +To check if the set-up was done correctly press `Windows + R` and type cmd, when you will type `mysql` in the console you will see all the options. + +[Click here to return to the Database Setup](http://www.azerothcore.org/wiki/Database-Setup) -- cgit