`groupadd mysql` If this returns an error, this step wasn't needed
`useradd -g mysql mysql` If this returns an error, this step wasn't needed
`tar -xvf mysql*.tar.gz` extracts MySQL into the current directory
`rm mysql-*.gz` removes the compressed file that is no longer needed
`mv mysql-* mysql` renames the long MySQL directory name to the short version
`chown root:root mysql` changes the permissions on the mysql directory to the correct permissions
`cd mysql` goes into the mysql directory
`chown -R mysql:mysql *` changes permissions on all the files in the mysql directory to the mysql user and the mysql group
`apt install libaio1` may already be installed, but just to make sure
`scripts/mysql_install_db --user=mysql` installs MySQL
`chown -R root .` changes permissions on the files in the MySQL directory
`chown -R mysql data` changes permissions on the MySQL data directory
`cp support-files/my-medium.cnf /etc/my.cnf` copies the configuration file to the correct location
`bin/mysqld_safe --user=mysql & cp support-files/mysql.server /etc/init.d/mysql.server` starts MySQL server and copies the autostart file to the correct location
`bin/mysqladmin -u root password 'pswd'` change 'pswd' to the MySQL root password - This will be referred to as the MySQL root password from now on
`/etc/init.d/mysql.server start` starts MySQL server
`/etc/init.d/mysql.server stop` stops MySQL server
`update-rc.d -f mysql.server defaults` enables MySQL to start when computer is rebooted
`ln -s /usr/local/mysql/bin/mysql /usr/local/bin/mysql` adds MySQL to the system path
`apt install libncursesw5` installs a library needed by MySQL
Gregg
Thanks for sharing Bo!
eFishAnt
wow, that's something I can use. Muchos Gracious Bo!
Where are the old native passwords enabled at? In mysql.cnf or somewhere else?
Oldes
I'm not actively using MySQL, but when I was testing the MySQL protocol, I used instructions from the stackoverflow chat (link above) to enable the old passwords.
Scot
Struggling with REBOL 3 draw dialect. I see draw blocks throughout the styles, but cannot seem to create my own gobs with them. The draw function expects a command rather than a dialect. What is the process for parsing the draw dialect and creating a gob! from it?
Henrik
Scot, I'm not sure DRAW is supposed to have that coupling. I thought you would assign an image! to a gob!, and then use DRAW to draw on the image!.
Henrik
Generally finding a working REBOL 3 seems to be a bit confusing...
Marco
@Scot which version of R3 are you using ? Oldes Rebol 3.5 seems not to support draw since it has not AGG embedde AFAIK. In early R3 versions: How R3 low-level view system works: ; window's gob gobw: make gob! [ text: "Win title" size: 700x500 offset: 50x50 ] ; background's gob gobb: make gob! [ size: 700x500 color: 200.200.200 ] ; foreground's gobd: make gob! [ offset: 10x10 size: 400x400 draw: none ] gobd/draw: bind reduce ['pen 200.0.0 'circle 20x20 55x55] import 'draw ; !!??!!
append gobw [gobb gobd]
view/no-wait/as-is gobw
I hope Oldes (or Ren-C?) adds support for AGG or Cairo or Blend2d as soon as possible.