public:radio:dormant:yaddnet_migration
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
public:radio:dormant:yaddnet_migration [14/04/24 02:32 BST] – [Tweaks] john | public:radio:dormant:yaddnet_migration [06/03/25 06:49 GMT] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 13: | Line 13: | ||
Server IP: 64.235.39.127 | Server IP: 64.235.39.127 | ||
- | Users & Server SSH port : see [[private: | + | |
==== Create SQL database ==== | ==== Create SQL database ==== | ||
Line 26: | Line 26: | ||
- | === The original | + | === The original |
1) sort out passwordless root access to MySQL | 1) sort out passwordless root access to MySQL | ||
Line 129: | Line 129: | ||
sql_mode = " | sql_mode = " | ||
- | + | | |
- | + | ||
restart mysql | restart mysql | ||
- | |||
- | |||
- | In UBUNTU 20.4.... add the sql-mode stuff ''/ | ||
- | < | ||
- | # MySQL systemd service file | ||
- | |||
- | [Unit] | ||
- | Description=MySQL Community Server | ||
- | After=network.target | ||
- | |||
- | [Install] | ||
- | WantedBy=multi-user.target | ||
- | |||
- | [Service] | ||
- | Type=notify | ||
- | User=mysql | ||
- | Group=mysql | ||
- | PIDFile=/ | ||
- | PermissionsStartOnly=true | ||
- | ExecStartPre=/ | ||
- | ExecStart=/ | ||
- | TimeoutSec=infinity | ||
- | Restart=on-failure | ||
- | RuntimeDirectory=mysqld | ||
- | RuntimeDirectoryMode=755 | ||
- | LimitNOFILE=10000 | ||
- | |||
- | # Set enviroment variable MYSQLD_PARENT_PID. This is required for restart. | ||
- | Environment=MYSQLD_PARENT_PID=1 | ||
- | ~ | ||
- | ~ | ||
- | |||
- | </ | ||
- | |||
- | Then | ||
- | |||
- | systemctl daemon-reload | ||
- | systemctl restart mysql | ||
- | | ||
- | | ||
- | |||
- | |||
- | | ||
- | |||
This (among other things) allows the group-by queries to work. | This (among other things) allows the group-by queries to work. |
public/radio/dormant/yaddnet_migration.1713058351.txt.gz · Last modified: 06/03/25 06:49 GMT (external edit)