|
[root@localhost root]# groupadd mysql
[root@localhost root]# useradd -g mysql mysql
[root@localhost root]# cd /usr/local/src/mysql
[root@localhost mysql]# ./configure --pr\
> --localstatedir=/usr/local/mysql/data \
> --disable-maintainer-mode \
> --with-mysqld-user=mysql \
> --enable-large-files \
> --without-comment \
> --without-debug \
> --without-docs \
> --without-bench
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!
To help you a bit, I am now going to create the needed MySQL databases
and start the MySQL server for you. If you run into any trouble, please
consult the MySQL manual, that you can find in the Docs directory.
./scripts/mysql_install_db: line 1: my_print_defaults: command not found
Didn't find ./bin/mysqld
You should do a 'make install' before executing this script
[root@localhost mysql]#
[root@localhost mysql]# make
make: *** No targets specified and no makefile found. Stop. |
|