MongoDB and MySQL connection problem

0

Recently I formatted my computer with a dual boot of win10 + ubuntu. When trying to reinstall the environment in ubuntu I had problems installing mongodb and decided to install the environment on windows. Initially everything went well and mysql was working fine with xampp, but when installing mongodb the two databases can no longer connect, they try to establish a connection on their respective default ports and fail. I had already managed to install mysql on ubuntu, could this have caused some port related issues that each one uses? Before formatting I only used windows 7 and both worked normally. How can I solve this problem?

NOTE: The mongodb error message is just that it can not connect to 127.0.0.1:27017 and xampp says that mysql was shut down unexpectedly due to some problem such as a blocked port, missing components (which probably would not is, as I was able to start normally before installing mongodb), or third party action.

mysql, inside ubuntu, was using port 3307 and on windows 7 it used port 3306. I did a default installation of both.

    
asked by anonymous 10.05.2018 / 17:41

0 answers