[MDEV-13858] Change in Port under windows Created: 2017-09-21 Updated: 2017-09-21 Resolved: 2017-09-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Configuration |
| Affects Version/s: | 10.2.8 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Stuart Slater | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | need_feedback | ||
| Environment: |
Windows 2008 R1 32bit |
||
| Description |
|
Hi [client] [mysql] [mysqld] ; restarted MySQL service. before I was able to connect with MySQL -u**** -p***** without specifying port help please where is the original port 3309 stored so I can change it to 3306 please. many thanks |
| Comments |
| Comment by Elena Stepanova [ 2017-09-21 ] | ||||||
|
Are you using the shortcut "MySQL Client ..." which directly starts mysql.exe, or are you running the whole mysql -u**** -p***** command from the usual command prompt? Could you please try to launch mysql.exe directly, with --defaults-file=<path to your modified config>? | ||||||
| Comment by Vladislav Vaintroub [ 2017-09-21 ] | ||||||
|
your client is probably not using the correct config file You can either set MYSQL_HOME environment variable to the directory with correct my.ini
There is no other place the original port is stored than my.ini in the data directory | ||||||
| Comment by Stuart Slater [ 2017-09-21 ] | ||||||
|
superb; many for your guidance that did the trick. |