[add] Connecting to mysql from pdo
This commit is contained in:
parent
7fc9ca8c75
commit
f2237d9209
@ -26,7 +26,7 @@ return [
|
||||
|
||||
// Datanase settings
|
||||
'mysql' => [
|
||||
'host' => 'localhost',
|
||||
'host' => 'mysql',
|
||||
'database' => 'payroll',
|
||||
'user' => 'root',
|
||||
'password' => '12345678',
|
||||
|
@ -12,9 +12,9 @@ services:
|
||||
mysql:
|
||||
container_name: payroll_mysql
|
||||
restart: always
|
||||
image: mysql:8.0.12
|
||||
image: mysql:5.7
|
||||
ports:
|
||||
- "3307:3306"
|
||||
- "3306:3306"
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: '12345678'
|
||||
MYSQL_USER: 'sloth'
|
||||
|
Loading…
Reference in New Issue
Block a user