MYSQL_UNIX_PORT=/tmp/mysqld-second.sock MYSQL_TCP_PORT=3307 export MYSQL_UNIX_PORT MYSQL_TCP_PORT ./mysql_install_db --user=mysql ./mysqld_safe --datadir=/path/to/datadir &
admin@srv100:~/mysql/bin$ sh start.sh start.sh: line 4: ./mysql_install_db: No such file or directory admin@srv100:~/mysql/bin$ The file /usr/local/mysql/bin/mysqld doesn't exist or is not executable Please do a cd to the mysql installation directory and restart this script from there as follows: ./bin/mysqld_safe.
QL_UNIX_PORT=/tmp/mysqld-second.sock MYSQL_TCP_PORT=3307 export MYSQL_UNIX_PORT MYSQL_TCP_PORT /home/admin/mysql/scripts/mysql_install_db --user=mysql /home/admin/mysql/bin/mysqld_safe --datadir=/home/admin/mysql/data &
admin@srv100:~/mysql/bin$ sh start.sh Could not find help file 'fill_help_tables.sql' in ./support-files or inside /usr. admin@srv100:~/mysql/bin$ The file /usr/local/mysql/bin/mysqld doesn't exist or is not executable Please do a cd to the mysql installation directory and restart this script from there as follows: ./bin/mysqld_safe.
MYSQL_UNIX_PORT=/tmp/mysqld-second.sock MYSQL_TCP_PORT=3307 export MYSQL_UNIX_PORT MYSQL_TCP_PORT scripts/mysql_install_db --user=mysql bin/mysqld_safe --user=mysql --port=3307 --socket=/tmp/mysqld-second.sock --pid-file=/tmp/mysql-second.pid &
sh start.sh Installing all prepared tables 050702 23:05:34 [Warning] One can only use the --user switch if running as root Fill help tables 050702 23:05:34 [Warning] One can only use the --user switch if running as root 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 srv100 password 'new-password' See the manual for more instructions. 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!
050702 23:05:34 mysqld started InnoDB: The first specified data file ./ibdata1 did not exist: InnoDB: a new database to be created! 050702 23:05:34 InnoDB: Setting file ./ibdata1 size to 10 MB InnoDB: Database physically writes the file full: wait... 050702 23:05:34 InnoDB: Log file ./ib_logfile0 did not exist: new to be created InnoDB: Setting log file ./ib_logfile0 size to 5 MB InnoDB: Database physically writes the file full: wait... 050702 23:05:35 InnoDB: Log file ./ib_logfile1 did not exist: new to be created InnoDB: Setting log file ./ib_logfile1 size to 5 MB InnoDB: Database physically writes the file full: wait... InnoDB: Doublewrite buffer not found: creating new InnoDB: Doublewrite buffer created InnoDB: Creating foreign key constraint system tables InnoDB: Foreign key constraint system tables created 050702 23:05:35 InnoDB: Started; log sequence number 0 0 050702 23:05:35 [Note] /home/admin/mysql/bin/mysqld: ready for connections. Version: '5.0.7-beta-standard' socket: '/tmp/mysqld-second.sock' port: 3307 MySQL Community Edition - Standard (GPL) 050702 23:06:38 mysqld started 050702 23:06:38 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use 050702 23:06:38 [ERROR] Do you already have another mysqld server running on port: 3306 ? 050702 23:06:38 [ERROR] Aborting 050702 23:06:38 [Note] /home/admin/mysql/bin/mysqld: Shutdown complete A mysqld process already exists at Sat Jul 2 23:06:38 CEST 2005 050702 23:06:38 mysqld ended
| 31.10.2022