Changes between Version 5 and Version 6 of howto/MySQLWorkbench
- Timestamp:
- Jun 24, 2011, 2:12:24 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto/MySQLWorkbench
v5 v6 5 5 * Audience: Intermediate Users 6 6 * Requires: MacPorts >=1.9.2 7 * Created: 23/06-2011 8 * Revised: 24/06-2011 - modified install intructions 9 * Author: Bjarne D Mathiesen (macintosh _at_ mathiesen _dot_ info) 7 10 8 11 {{{ … … 33 36 34 37 {{{ 35 port install mysql5-server # intstall mysql5 from macports 36 sudo -u _mysql mysql_install_db5 # install the default databases 38 port install mysql5-server # install mysql5 from macports 39 cd /private/tmp # the following command is executed as the _mysql user 40 # + so we'll have to be somewhere in the file system where 41 # + the _mysql user has write access 42 mysql_install_db5 --user=_mysql # install the default databases 37 43 port load mysql5 # start the mysqld server 38 44 ps -axj | grep mysql # check that the mysql server is running 39 45 /macports/lib/mysql5/bin/mysql_secure_installation # secure the default installation 40 echo '[mysqld]' >> /macports/etc/mysql5/my.cnf # create a configuration file for mysql(d)46 echo '[mysqld]' >> /macports/etc/mysql5/my.cnf # create a very basic configuration file for mysql(d) 41 47 chown _mysql:_mysql /macports/etc/mysql5/my.cnf 42 chmod 664 /macports/etc/mysql5/my.cnf 48 chmod 664 /macports/etc/mysql5/my.cnf # I'ld have preferred 660, but that conflicts with letting 49 # MySQL Workbench read the file as the current user 43 50 }}} 44 51