This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
nndocs:lamp [2018/07/04 00:30] – Add FIXMEs. naptastic | nndocs:lamp [2020/12/30 23:36] (current) – [MySQL] things change naptastic | ||
---|---|---|---|
Line 70: | Line 70: | ||
* '' | * '' | ||
- | As part of this, you will create a MySQL root password. This doesn' | + | Since Debian Buster, I haven' |
- | + | ||
- | === Create /root/.my.cnf | + | |
- | + | ||
- | If you ever want to do anything from the command line you will either | + | |
[client] | [client] | ||
Line 80: | Line 76: | ||
password=" | password=" | ||
- | You can create a .my.cnf file in any user's home directory so they can do mysql stuff from the shell without having to constantly supply their MySQL username and password. | + | You can create a .my.cnf file in any user's home directory so they can do mysql stuff from the shell without having to constantly supply their MySQL username and password. |
+ | |||
+ | * Don't give users the root password | ||
+ | * chmod 600 | ||
==== PHP ==== | ==== PHP ==== | ||