Home  >  Q&A  >  body text

Why won't PHP Toolbox start my MySQL?

My computer has installed apache2.4, php7.0.12 and MySQL5.7.16. I installed the php toolbox today. Apache can be used, but its configuration file does not seem to be the original apache configuration file. Which one should I use? Another key problem is that my MySQL always needs to be started with net start MySQL and cannot be started with the toolbox. At the same time, MySQL used to be able to display Chinese database names, but now it cannot, even if I use set names utf8 to set the string. Type is useless too?

tigertiger2603 days ago1984

reply all(5)I'll reply

  • tiger

    tiger2017-09-25 17:02:53

    Check the win service, apache is still installed before. Now the problem about apache is that it does not start my http.conf configuration but the configuration file in the tool. I don’t know why?

    reply
    0
  • 橘ふ丢孒

    橘ふ丢孒2017-09-25 15:41:28

    Check whether mysql has been enabled in the service, or whether mysql has been successfully installed

    reply
    0
  • 本Q已中毒

    本Q已中毒2017-09-25 14:56:35

    php toolbox is an integrated environment, php+apache+mysql. So after installing the php toolbox, you no longer need to install it independently. It is recommended that you uninstall mysql and apache


    reply
    0
  • 赵军

    赵军2017-09-25 14:41:00

    Check in "Services" whether mySQL is started, and then check the path of the database to check. If it is not the database you want, just uninstall it.

    reply
    0
  • PHP中文网

    PHP中文网2017-09-25 09:52:57

    That is an integrated environment and does not need to be installed separately. Installing it alone will cause conflicts.

    reply
    0
  • tiger

    But I installed these first and then used the PHP toolbox. Can I set the toolbox to use the apache and MySQL I installed before?

    tiger · 2017-09-25 09:56:47
    Day

    The php toolbox can only use its own environment package to start Apache and MySql. If you configure it separately, the software cannot read and write the configuration, resulting in failure to start. It is recommended that if you are familiar with setting up the environment, you can manually configure it yourself. If you are a novice, use php. The environment that comes with the toolbox.

    Day · 2017-09-25 10:02:51
  • Cancelreply