Mysql change default port

Notice: This thread is very old.
petulko391
Member | 3
+
0
-

Hi,

How setting mysql port 1111?

THX

Michal Vyšinský
Member | 608
+
0
-

Hi, add it to dsn in configuration:

mysql:host=localhost;dbname=testdb;port=1111