1'mysql' => [
2 'read' => [
3 'host' => [
4 '192.168.1.1',
5 '196.168.1.2',
6 ],
7 ],
8 'write' => [
9 'host' => [
10 '196.168.1.3',
11 ],
12 ],
13 'sticky' => true,
14 'driver' => 'mysql',
15 'database' => 'laravel',
16 'username' => 'root',
17 'password' => 'THE ONE YOU CREATED THE USER WITH',
18 'charset' => 'utf8mb4',
19 'collation' => 'utf8mb4_unicode_ci',
20 'prefix' => '',
21],
1NameVirtualHost *:80
2
3<VirtualHost example.com:80>
4 DocumentRoot "C:\xampp\htdocs\example\public"
5 ServerName example.com
6 ServerAlias www.example.com
7
8 <Directory "c:/xampp/htdocs/example/public">
9 Require all granted
10 </Directory>
11</VirtualHost>