Created
July 10, 2015 21:20
-
-
Save YannickFricke/5285ddc0701d43cd9862 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return array( | |
/** | |
* name of the datasource | |
*/ | |
"main" => array( | |
"type" => \Infy\DataSource\InfyDataSourceType::$MYSQL, | |
"options" => array( | |
/** | |
* host where the server is running | |
*/ | |
"host" => "localhost", | |
/** | |
* port of the remote host | |
*/ | |
"port" => 3306, | |
/** | |
* login with this username | |
*/ | |
"username" => "root", | |
/** | |
* login with this password | |
*/ | |
"password" => "root", | |
/** | |
* name of the database connect to | |
*/ | |
"database" => "mysql", | |
/** | |
* Set to true when Infy should use the socket instead of the hostname | |
*/ | |
"useSocket" => false, | |
/** | |
* path of the socket when you dont want to connect via hostname | |
*/ | |
"socket" => "/var/run/mysqld/mysqld.sock" | |
) | |
) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment