Skip to content

Instantly share code, notes, and snippets.

@YannickFricke
Created July 10, 2015 21:20
Show Gist options
  • Save YannickFricke/5285ddc0701d43cd9862 to your computer and use it in GitHub Desktop.
Save YannickFricke/5285ddc0701d43cd9862 to your computer and use it in GitHub Desktop.
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