You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -121,23 +122,36 @@ Then in file ".env" replace this database configuration:
121
122
122
123
To this:
123
124
124
-
* DB_CONNECTION=pgsql
125
-
* DB_HOST=127.0.0.1
126
-
* DB_PORT=5432
127
-
* DB_DATABASE=laravel
128
-
* DB_USERNAME=laravel
129
-
* DB_PASSWORD=password
125
+
```
126
+
DB_CONNECTION=pgsql
127
+
DB_HOST=127.0.0.1
128
+
DB_PORT=5432
129
+
DB_DATABASE=laravel
130
+
DB_USERNAME=laravel
131
+
DB_PASSWORD=password
132
+
```
130
133
131
134
### If you choose MySQL
132
135
136
+
1. Install MySQL
137
+
2. Create database (this way or another)
138
+
```bash
139
+
$ mysql -uroot -p
140
+
mysql> create database laravel;
141
+
```
142
+
Create a user with privileges to the laravel database (root user may not work while it requires a sudo)
143
+
144
+
3. Update .env file
133
145
Copy file ".env.example", and change its name to ".env".
134
-
Then in file ".env" complete this database configuration:
135
-
* DB_CONNECTION=mysql
136
-
* DB_HOST=127.0.0.1
137
-
* DB_PORT=3306
138
-
* DB_DATABASE=laravel
139
-
* DB_USERNAME=root
140
-
* DB_PASSWORD=
146
+
Then in file ".env" complete database configuration:
147
+
```
148
+
DB_CONNECTION=mysql
149
+
DB_HOST=127.0.0.1
150
+
DB_PORT=3306
151
+
DB_DATABASE=laravel
152
+
DB_USERNAME=root
153
+
DB_PASSWORD=
154
+
```
141
155
142
156
### Next step
143
157
@@ -349,17 +363,14 @@ If the column is a foreign key, it should be specified: in the field "Optional r
349
363
#### E-mail Templates
350
364
It is an example of managing e-mail templates. Allows you to create, edit and delete templates. It also allows you to send an E-mail to a selected address.
0 commit comments