Re: install Mysql----to ./mysql_install_db ERROR

2005-03-28 Thread Gleb Paharenko
Hello.



Do you have previous installations of MySQL server?



[1]+ Done ./mysqld_safe



What is in the error log? See:

  http://dev.mysql.com/doc/mysql/en/starting-server.html









mandrake 10.1 

mysql 4.1.10a 

[EMAIL PROTECTED] bin]# ./mysql_install_db 

Installing all prepared tables 

ERROR: 1062 Duplicate entry 'localhost-root' for key 1 

ERROR: 1062 Duplicate entry 'localhost-' for key 1 

Fill help tables 



angin continue next steup also error 



[EMAIL PROTECTED] bin]#./mysqld_safe  

[1]4789 

[EMAIL PROTECTED] bin]#Starting mysqld daemon with 

databases from 

/usr/local/mysql/var 

STOPPING server from pid 

file /usr/local/mysql/var/localhost.pid 

050308 21:23:00 mysqld ended 



[1]+ Done ./mysqld_safe 

[EMAIL PROTECTED] bin]#./mysql 

ERROR 2002 (HY000): Can't connect to local 

MySQL server through socket 

'/tmp/mysql.sock'(111) yen0622 [EMAIL PROTECTED] wrote:





-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
   ___/   www.mysql.com




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



install Mysql----to ./mysql_install_db ERROR

2005-03-26 Thread yen0622
mandrake 10.1 
mysql 4.1.10a 
[EMAIL PROTECTED] bin]# ./mysql_install_db 
Installing all prepared tables 
ERROR: 1062 Duplicate entry 'localhost-root' for key 1 
ERROR: 1062 Duplicate entry 'localhost-' for key 1 
Fill help tables 

angin continue next steup also error 

[EMAIL PROTECTED] bin]#./mysqld_safe  
[1]4789 
[EMAIL PROTECTED] bin]#Starting mysqld daemon with 
databases from 
/usr/local/mysql/var 
STOPPING server from pid 
file /usr/local/mysql/var/localhost.pid 
050308 21:23:00 mysqld ended 

[1]+ Done ./mysqld_safe 
[EMAIL PROTECTED] bin]#./mysql 
ERROR 2002 (HY000): Can't connect to local 
MySQL server through socket 
'/tmp/mysql.sock'(111) 

Scripts/mysql_install_db error

2002-11-04 Thread Aaron Axelsen
Any suggestions?? I just installed and compiled mysql 3.23.53 and I get
this error:


[root@Alpha mysql-3.23.53]# scripts/mysql_install_db
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
mysqld got signal 11;
This could be because you hit a bug. It is also possible that this
binary
or one of the libraries it was linked agaist is corrupt, improperly
built,
or misconfigured. This error can also be caused by malfunctioning
hardware.
We will try our best to scrape up some info that will hopefully help
diagnose
the problem, but since we have already crashed, something is definitely
wrong
and this may fail

key_buffer_size=16773120
record_buffer=131072
sort_buffer=524280
max_used_connections=0
max_connections=100
threads_connected=1
It is possible that mysqld could use up to
key_buffer_size + (record_buffer + sort_buffer)*max_connections = 80379
K
bytes of memory
Hope that's ok, if not, decrease some variables in the equation

Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
Stack range sanity check OK, backtrace follows:
0x8084786
0x8131728
0x8147d56
0x808bc51
0x808e15e
0x8086ed3
Stack trace seems successful - bottom reached
Please read http://www.mysql.com/doc/U/s/Using_stack_trace.html and
follow instr
uctions on how to resolve the stack trace. Resolved
stack trace is much more helpful in diagnosing the problem, so please do
resolve it
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd-query at 0x825a810 =  CREATE TABLE db (   Host char(60) binary
DEFAULT '' N
OT NULL,   Db char(64) binary DEFAULT '' NOT NULL,   User char(16)
binary DEFAUL
T '' NOT NULL,   Select_priv enum('N','Y') DEFAULT 'N' NOT NULL,
Insert_priv e
num('N','Y') DEFAULT 'N' NOT NULL,   Update_priv enum('N','Y') DEFAULT
'N' NOT N
ULL,   Delete_priv enum('N','Y') DEFAULT 'N' NOT NULL,   Create_priv
enum('N','Y
') DEFAULT 'N' NOT NULL,   Drop_priv enum('N','Y') DEFAULT 'N' NOT NULL,
Grant
_priv enum('N','Y') DEFAULT 'N' NOT NULL,   References_priv
enum('N','Y') DEFAUL
T 'N' NOT NULL,   Index_priv enum('N','Y') DEFAULT 'N' NOT NULL,
Alter_priv en
um('N','Y') DEFAULT 'N' NOT NULL, PRIMARY KEY Host (Host,Db,User), KEY
User (Use
r) ) comment='Database privileges'
thd-thread_id=1

Successfully dumped variables, if you ran with --log, take a look at the
details of what thread 1 did to cause the crash.  In some cases of
really
bad corruption, the values shown above may be invalid

The manual page at http://www.mysql.com/doc/C/r/Crashing.html contains
information that should help you find out what is causing the crash
Installation of grant tables failed!

Examine the logs in /usr/local/mysql/var for more information.
You can also try to start the mysqld daemon with:
/usr/local/mysql/libexec/mysqld --skip-grant 
You can use the command line tool
/usr/local/mysql/bin/mysql to connect to the mysql
database and look at the grant tables:

shell /usr/local/mysql/bin/mysql -u root mysql
mysql show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /usr/local/mysql/var that may be helpful.

The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running
mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the /usr/local/mysql/bin/mysqlbug
script!

---
Aaron Axelsen
AIM: AAAK2
Email: [EMAIL PROTECTED]
URL: www.amadmax.com
 
It said, Insert disk #3, but only two will fit!
One picture is worth 128K words.



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Scripts/mysql_install_db error

2002-11-04 Thread Aaron Axelsen
Any suggestions?? I just installed and compiled mysql 3.23.53 and I get
this error:


[root@Alpha mysql-3.23.53]# scripts/mysql_install_db
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
mysqld got signal 11;
This could be because you hit a bug. It is also possible that this
binary
or one of the libraries it was linked agaist is corrupt, improperly
built,
or misconfigured. This error can also be caused by malfunctioning
hardware.
We will try our best to scrape up some info that will hopefully help
diagnose
the problem, but since we have already crashed, something is definitely
wrong
and this may fail

key_buffer_size=16773120
record_buffer=131072
sort_buffer=524280
max_used_connections=0
max_connections=100
threads_connected=1
It is possible that mysqld could use up to
key_buffer_size + (record_buffer + sort_buffer)*max_connections = 80379
K
bytes of memory
Hope that's ok, if not, decrease some variables in the equation

Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
Stack range sanity check OK, backtrace follows:
0x8084786
0x8131728
0x8147d56
0x808bc51
0x808e15e
0x8086ed3
Stack trace seems successful - bottom reached
Please read http://www.mysql.com/doc/U/s/Using_stack_trace.html and
follow instr
uctions on how to resolve the stack trace. Resolved
stack trace is much more helpful in diagnosing the problem, so please do
resolve it
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd-query at 0x825a810 =  CREATE TABLE db (   Host char(60) binary
DEFAULT '' N
OT NULL,   Db char(64) binary DEFAULT '' NOT NULL,   User char(16)
binary DEFAUL
T '' NOT NULL,   Select_priv enum('N','Y') DEFAULT 'N' NOT NULL,
Insert_priv e
num('N','Y') DEFAULT 'N' NOT NULL,   Update_priv enum('N','Y') DEFAULT
'N' NOT N
ULL,   Delete_priv enum('N','Y') DEFAULT 'N' NOT NULL,   Create_priv
enum('N','Y
') DEFAULT 'N' NOT NULL,   Drop_priv enum('N','Y') DEFAULT 'N' NOT NULL,
Grant
_priv enum('N','Y') DEFAULT 'N' NOT NULL,   References_priv
enum('N','Y') DEFAUL
T 'N' NOT NULL,   Index_priv enum('N','Y') DEFAULT 'N' NOT NULL,
Alter_priv en
um('N','Y') DEFAULT 'N' NOT NULL, PRIMARY KEY Host (Host,Db,User), KEY
User (Use
r) ) comment='Database privileges'
thd-thread_id=1

Successfully dumped variables, if you ran with --log, take a look at the
details of what thread 1 did to cause the crash.  In some cases of
really
bad corruption, the values shown above may be invalid

The manual page at http://www.mysql.com/doc/C/r/Crashing.html contains
information that should help you find out what is causing the crash
Installation of grant tables failed!

Examine the logs in /usr/local/mysql/var for more information.
You can also try to start the mysqld daemon with:
/usr/local/mysql/libexec/mysqld --skip-grant 
You can use the command line tool
/usr/local/mysql/bin/mysql to connect to the mysql
database and look at the grant tables:

shell /usr/local/mysql/bin/mysql -u root mysql
mysql show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /usr/local/mysql/var that may be helpful.

The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running
mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the /usr/local/mysql/bin/mysqlbug
script!

---
Aaron Axelsen
AIM: AAAK2
Email: [EMAIL PROTECTED]
URL: www.amadmax.com
 
It said, Insert disk #3, but only two will fit!
One picture is worth 128K words.



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




mysql_install_db error

2001-11-04 Thread security

Description:
After doing scripts/mysql_install_db I get errors
/usr/bin/mysqdl_safe: line 278:  2759 Illegal instruction   
$NOHUP_NICENESS $ledir/$MYSQLD $defaults --basedir=$MY_BASEDIR_VERSION 
--datadir=$DATADIR $USEROPTION --pid-file=$pid_file --skip-locking 
$err_log 21
011104 16:13:34 mysqld ended

How-To-Repeat:
step-by-step instalation using INSTALL-BINARY
Fix:
hostname ?

Submitter-Id:  submitter ID
Originator:
Organization:
 UNIX.LV ISP lo-level TRD support
MySQL support: [none | licence | email support | extended email support ]
Synopsis:  
Severity:  
Priority:  medium
Category:  mysql
Class: sw-bug
Release:   mysql-4.0.0-alpha (Official MySQL RPM)

Environment:
System: Linux groove 2.4.12-grsec-1.8.4 #14 Wed Oct 24 18:09:44 EEST 2001 i586 unknown
Architecture: i586

Some paths:  /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/specs
gcc version 2.95.3 20010315 (release)
Compilation info: CC='gcc'  CFLAGS='-O6 -fno-omit-frame-pointer -mpentium'  CXX='gcc'  
CXXFLAGS='-O6 -fno-omit-frame-pointer  -felide-constructors 
-fno-exceptions -fno-rtti -mpentium'  LDFLAGS=''
LIBC: 
lrwxrwxrwx1 root root   13 Oct 16 03:30 /lib/libc.so.6 - libc-2.2.3.so
-rwxr-xr-x1 root root  4783716 May 26 04:03 /lib/libc-2.2.3.so
-rw-r--r--1 root root 24721042 May 26 04:00 /usr/lib/libc.a
-rw-r--r--1 root root  178 May 26 04:00 /usr/lib/libc.so
Configure command: ./configure  --disable-shared --with-mysqld-ldflags=-all-static 
--with-client-ldflags=-all-static --without-berkeley-db --with-innodb 
--enable-assembler --with-mysqld-user=mysql 
--with-unix-socket-path=/var/lib/mysql/mysql.sock --prefix=/ 
--with-extra-charsets=complex --exec-prefix=/usr --libexecdir=/usr/sbin 
--sysconfdir=/etc --datadir=/usr/share --localstatedir=/var/lib/mysql 
--infodir=/usr/info --includedir=/usr/include --mandir=/usr/man --with-embedded-server 
'--with-comment=Official MySQL RPM'


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php