How to change Mysql server port for using two instances of mysql when running Django code

51 views
Skip to first unread message

Khánh Hoàng

unread,
Jan 14, 2022, 3:18:41 AM1/14/22
to Django users
Hi everyone, I'm new to Django,

 I'm trying to run Python code using Django framework, I'm on Windows and want to try Redis, because Redis doesn't support Windows machines so I want to run it with WSL

I want to change mysql server port in 2 different instances of Mysql, one for WSL and one for Windows. How can I do it? 

Thank you very much!!

Kasper Laudrup

unread,
Jan 14, 2022, 12:20:44 PM1/14/22
to django...@googlegroups.com
On 14/01/2022 09.18, Khánh Hoàng wrote:
> I want to change mysql server port in 2 different instances of Mysql,
> one for WSL and one for Windows. How can I do it?
>

https://dev.mysql.com/doc/refman/8.0/en/multiple-servers.html

Kind regards,

Kasper Laudrup
OpenPGP_0xE5D9CAC64AAA55EB.asc
OpenPGP_signature

Khánh Hoàng

unread,
Jan 15, 2022, 10:04:59 AM1/15/22
to Django users

Thank you!!
Vào lúc 00:20:44 UTC+7 ngày Thứ Bảy, 15 tháng 1, 2022, Kasper Laudrup đã viết:
Reply all
Reply to author
Forward
0 new messages