Supplementary questions:
Reading data is no problem.
Configuration in the database.php
Configuration in. env
Reply content:
Supplementary questions:
Reading data is no problem.
Configuration in the database.php
Configuration in. env
' Default ' = env (' db_connection ', ' MySQL '), will go to the. env file to find the configuration of db_connection, if the. Env does not db_connection this field, the default use of env () The second parameter of the function as the value, in. env you have set the Db_connection=mysql, then it will go to connections to find the key named ' MySQL ' Configuration, and you will ' MySQL ' Key name changed to ' ZCBO ', That will not find the configuration of MySQL, or the. env in the value of the db_connection to ZCBO, or the connections in the ZCBO to change back to MySQL, since you are not familiar with Laravel now, Do not take for granted to change some of the configuration, not to mention the connections in the MySQL into ZCBO, which means what purpose?
The hand to change MySQL to ZCBO of course can not find, since change you also put env file changed AH is drunk