Перейти к содержанию

grandistok

Members
  • Постов

    5
  • Зарегистрирован

  • Посещение

    Никогда

Весь контент grandistok

  1. [root@i01360312 green]# /etc/init.d/mysql start Запускается сервер MySQL [root@i01360312 green]# ps ax | grep "mysql" 6711 pts/2 S 0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/i01360312.i2303.local.pid 6732 pts/2 Sl 0:00 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/i01360312.i2303.local.pid --skip-locking 6767 pts/2 S+ 0:00 mysql -u root -p [root@i01360312 green]# mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server version: 4.0.20 Type 'help;' or '\h' for help. Type '\c' to clear the buffer. Mysql> Вот так вот значит мускул у меня работает на ура а проблемма в демоне почемуто он не хочет запускаться. Но радует что хоть мускул пашет
  2. Снес мускул поставил из rpm пакетов (шли вместе с дистрибутивом) теперь: [root@i01360312 bin]# ./mysql_install_db Installing all prepared tables 080221 17:06:05 /usr/sbin/mysqld: Shutdown Complete 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: /usr/bin/mysqladmin -u root password 'new-password' /usr/bin/mysqladmin -u root -h i01360312.i2303.local password 'new-password' See the manual for more instructions. NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run the /usr/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 / ; /usr/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 /usr/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 [root@i01360312 bin]# ./mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql и на этом все.... больше никаких реакций в messages: 31 i01360312 su(pam_unix)[8071]: session opened for user root by green(uid=501) Ничего не понимаю скоро буду биться башкой об монитор от бессилия
  3. В ОТВЕТ НА mysql_install_db: [root@i01360312 scripts]# ./mysql_install_db Installing all prepared tables Fill help tables ERROR: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 080221 12:11:06 [ERROR] Aborting 080221 12:11:06 [Note] /usr/local/libexec/mysqld: Shutdown complete ./mysql_install_db: line 299: 4634 Broken pipe cat $fill_help_tables WARNING: HELP FILES ARE NOT COMPLETELY INSTALLED! The "HELP" command might not work properly 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: /usr/local/bin/mysqladmin -u root password 'new-password' /usr/local/bin/mysqladmin -u root -h i01360312.i2303.local password 'new-password' See the manual for more instructions. NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run the /usr/local/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 /usr/local ; /usr/local/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 /usr/local/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 МОЖЕТ МНЕ ПРОЩЕ МУСКУЛ СНЕСТИ И ЗАНОВО ПЕРЕСТАВИТЬ? уСЛИ ДА ТО КАК СНЕСТИ ПРОГУ УСТАНОВЛЕННУЮ С КОНСОЛИ?
  4. Места хватает /dev/hdb6 5,8G 2,7G 2,9G 49% / /dev/hdb8 4,4G 657M 3,8G 15% /home /dev/hdb1 4,9G 4,7G 232M 96% /mnt/win_c /dev/hdb5 59G 40G 19G 69% /mnt/win_d И и какой именно конфиг посмотреть и где смотреть? а то их много. ps после того ка sql не запускался я его утанавил не из rpm пакетов а собрал из исходников с консольки с правами root может быть дело в этом?
  5. Дарофф комрады помогите решить проблеммку молодому линуксоиду )) Пытаюсь поднять mySql установка вроде бы прошла удвчно но при попытке запуска скриптом mysqld_safe комп ругается: Starting mysqld daemon with databases from /usr/local/var STOPPING server from pid file /usr/local/var/i01360312.i2303.local.pid 080220 15:22:40 mysqld ended В логах пишет В messages: Feb 20 15:24:01 i01360312 su(pam_unix)[4849]: session opened for user root by green В /usr/local/var/mysql в файле i01360312.i2303.local.err: ^/usr/local/libexec/mysqld: Can't read dir of '/root/tmp/' (Errcode: 13) ^/usr/local/libexec/mysqld: Can't create/write to file '/root/tmp/ibcv2UM9' (Er 080220 16:00:30 InnoDB: Error: unable to create temporary file; errno: 13 080220 16:00:30 [ERROR] Can't init databases 080220 16:00:30 [ERROR] Aborting 080220 16:00:30 [Note] /usr/local/libexec/mysqld: Shutdown complete 080220 16:00:30 mysqld ended Ковыряюсь уже третий день просмотрел могое по форумам и поискавикам но толку никакого (( подозреваю что туплю на чем то детском. MySQL переставлял уже нескоько раз толку ноль. Дистрибутив Mandrake 10. MySQL 4. Где грабли?
×
×
  • Создать...