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
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,13 +63,14 @@ in the [includes/config.php](https://github.com/johnnymast/mysql_websocket_chat/
63
63
| Flag | Description |
64
64
| --- | --- |
65
65
| DATABASE_HOST | The database username goes in here. By default this has been set to <code>root</code>. |
66
+
| DATABASE_PORT | The database port goes in here. By default this has been set to <code>3306</code>. |
66
67
| DATABASE_USERNAME | The database username goes in here. By default this has been set to <code>root</code>.|
67
68
| DATABASE_PASSWORD | Enter the password to access the database there. By default this has been set to <code>root</code>.|
68
69
| DATABASE_DB | Enter the name of the database here. By default this has been set to <code>socket_chat</code>.|
69
70
| ENABLE_DATABASE | This flag will turn using the database on or off by setting its value to <code>true</code> or <code>false</code>.|
70
71
71
72
72
-
***Please note*** if you enable the database make sure you update the credentials as well (see table above). Also if you enable the database make sure you have imported [database.sql](https://github.com/johnnymast/mysql_websocket_chat/blob/master/database.sql) into your database.
73
+
***Please note*** if you enable the database make sure you update the credentials as well (see table above). Also, if you enable the database make sure you have imported [database.sql](https://github.com/johnnymast/mysql_websocket_chat/blob/master/database.sql) into your database.
73
74
74
75
75
76
# Step 4: Fire up the WebSocket server
@@ -127,7 +128,7 @@ Oh and if you've come down this far, you might as well [follow me](https://twitt
127
128
128
129
MIT License
129
130
130
-
Copyright (c) 2020 Johnny Mast
131
+
Copyright (c) 2021 Johnny Mast
131
132
132
133
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
0 commit comments