greensql-fw-0.8.4]# cd ./scripts/ # ./setup_user.sh done... # ./greensql-create-db.sh -----------------------------
---------------- The following settings will be used: MySQL admin user: [root] MySQL admin password: [] MySQL server
address: [127.0.0.1] GreenSQL configuration DB name: [greendb] DB user to create: [green] Password to set: [pwd] Do
you want to change anything? [y/N] y MySQL admin user [root]: MySQL admin password []: XXxxXXxxXXxx-FIXME MySQL
server address (you can use ip:port string) [127.0.0.1]: GreenSQL config db name [greendb]: GreenSQL DB user name
[green]: greendb GreenSQL DB user password [pwd]: greendbpass --------------------------------------------- The
following settings will be used: Do you want to change anything? [y/N] Creating MySQL database... Adding MySQL user... Creating MySQL tables... GreenSQL configuration file is not writable!!! Check that [database] section
contains the following settings in /etc/greensql/greensql.conf [database] dbhost=127.0.0.1 dbname=greendb
dbuser=greendb dbpass=greendbpass # dbport=3306 ... # ./setup_conf.sh done... # ./setup_log.sh done... #
./setup_binary.sh done... # vi /etc/greensql/greensql.conf ... [database] dbhost=127.0.0.1 dbname=greendb
dbuser=greendb dbpass=greendbpass ... # chkconfig --add greensql service greensql does not support chkconfig #
/etc/init.d/greensql start
|