php - linux starts two mysql services at one time
为情所困
为情所困 2017-06-05 11:07:41
0
1
683

Virtual machine environment: Port 192.168.0.140

        本地可以连接使用这个端口
        有密码
        使用navicat 工具可以进入mysql 服务

The virtual machine uses mysql -uroot -p
Entered the mysql service and found that the database connected above was not the same database! ,
And the password is empty
There is no mysql table inside either

So I suspected that two mysql services were installed
Then I found the data directory in phpstudy

Inside is the data I used to connect to the database using 192.168.0.140

What should I change so that mysql -uroot -p
also points to this directory, or do I need to move the data directory?

为情所困
为情所困

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!