[Serusers] Re: starting ser

Andrey Kouprianov andrey.kouprianov at gmail.com
Fri Mar 17 11:31:42 CET 2006


No... for mysql_install_db you dont have to configure anything or make
or make install... just run it...
Then try starting your MySQL server with mysqld_safe &

>>
[root at serverlinux mysql-standard-5.0.18-linux-i686-glibc23]# Starting
mysqld daemon with databases from /var/lib/mysql
STOPPING server from pid file /var/run/mysqld/mysqld.pid
060317 11:12:09  mysqld ended
<<
This means that something is wrong... Possibly that your primary
database is missing.

On 3/17/06, D'Addelfio Davide <Davide.D'Addelfio at italtel.it> wrote:
>
>
> what i have:
>
> [root at serverlinux
> mysql-standard-5.0.18-linux-i686-glibc23]#
> ./bin/mysqld_safe &
> [1] 1910
> [root at serverlinux
> mysql-standard-5.0.18-linux-i686-glibc23]# Starting mysqld
> daemon with databases from /var/lib/mysql
> STOPPING server from pid file /var/run/mysqld/mysqld.pid
> 060317 11:12:09  mysqld ended
>
> [root at serverlinux
> mysql-standard-5.0.18-linux-i686-glibc23]# ps -ax | grep
> mysql
>  1808 pts/1    S      0:00 /bin/sh ./bin/mysqld_safe --no-defaults
>  1826 pts/1    S      0:00
> /opt/mysql-standard-5.0.18-linux-i686-glibc23/bin/mysqld
> --no-defaults
> --basedir=/opt/mysql-standard-5.0.18-linux-i686-glibc23
> --datadir=/opt/mysql-standard-5.0.18-linux-i686-glibc23/data
> --user=mysql
> --pid-file=/opt/mysql-standard-5.0.18-linux-i686-glibc23/data/serverlinux.pid
> --skip-locking
>  1987 pts/2    S      0:00 grep mysql
>
> [root at serverlinux scripts]# mysql_install_db
> Didn't find /usr/libexec/mysqld
> You should do a 'make install' before executing this script
>
> i know that something going wrong during installation but when i've done
> ./configure
> obtained:
>
> [root at serverlinux
> mysql-standard-5.0.18-linux-i686-glibc23]# ./configure
> 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.
>
> Installing all prepared tables
> Fill help tables
>
> To start mysqld at boot time you have to copy support-files/mysql.server
> to the right place for your system
>
> PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
> To do so, start the server, then issue the following commands:
> ./bin/mysqladmin -u root password 'new-password'
> ./bin/mysqladmin -u root -h serverlinux password 'new-password'
> See the manual for more instructions.
>
> NOTE:  If you are upgrading from a MySQL <= 3.22.10 you should run
> the ./bin/mysql_fix_privilege_tables. Otherwise you will
> not be
> able to use the new GRANT command!
>
> You can start the MySQL daemon with:
> cd . ; ./bin/mysqld_safe &
>
> You can test the MySQL daemon with the benchmarks in the 'sql-bench'
> directory:
> cd sql-bench ; perl run-all-tests
>
> Please report any problems with the ./bin/mysqlbug script!
>
> The latest information about MySQL is available on the web at
> http://www.mysql.com
> Support MySQL by buying support/licenses at https://order.mysql.com
> Starting the mysqld server.  You can test that it is up and running
> with the command:
> ./bin/mysqladmin version
> [root at serverlinux
> mysql-standard-5.0.18-linux-i686-glibc23]# Starting mysqld
> daemon with databases from
> /opt/mysql-standard-5.0.18-linux-i686-glibc23/data
>
> and stopping in this way....
> i have not make file in directory...???
>
>




More information about the sr-users mailing list