简体   繁体   中英

How to use xammp and mysql server at same time

I am trying to connect my database with PHPStorm. The problem is that when i run mysql at xampp

在此处输入图片说明

I get the following error

在此处输入图片说明

because my mysql server is down

在此处输入图片说明

but if i try to run both mysql server and xampp i get the following error

在此处输入图片说明

I am really new to php and mysql so sorry for the question

You have to change the default port number:3306 to another valid port number for one of mysql instance.

please take a look here how to change the default port of MySQL in xammp

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM