Re: --initialize specified but the data directory has files in it. Aborting.

2015-11-13 Thread jim Zhou
/CentOS7 because "yum" and the package name, if i would > be him i would just install mariadb which is the default mysql > implementation these days on most linux distributions and hence the > packages are better maintained > > > -Ursprüngliche Nachricht- >> V

--initialize specified but the data directory has files in it. Aborting.

2015-11-13 Thread jim Zhou
Hi, I did "yum install myswl-community-server" and "service mysqld start" I got the error Initializing MySQL database: 2015-11-13T15:54:01.203931Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000) 2015-11-13T15:54:01.204205Z 0 [Warning] Changed limits: table_open_cache: 431 (requ

Re: 2d line plot graph vs. time

2009-11-16 Thread Kemin Zhou
Gnuplot Mikie wrote: Hello MySQL list people! I need software that will graphically plot 2d line charts vs. time for various data points from a MySQL database. Any ideas? -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.c

Re: perl DBI does not do execute mysql statement

2007-06-11 Thread Kemin Zhou
Baron Schwartz wrote: Kemin Zhou wrote: Hi All, I have one of the toughest problem to solve now. I have not been able to sleep well in the last three days. There is a simple query insert into table foo (column1, column2, column5) select $col from bar If I run this query by hand whatever

perl DBI does not do execute mysql statement

2007-06-09 Thread Kemin Zhou
Hi All, I have one of the toughest problem to solve now. I have not been able to sleep well in the last three days. There is a simple query insert into table foo (column1, column2, column5) select $col from bar If I run this query by hand whatever the value of $col, it works fine. The ins

cursor in 4.1

2005-12-09 Thread Kemin Zhou
All, I am using the perl DBI to access a large table. I need to a simple manipulation of the table then write it to a file. If I use the simple "select * from table" then process this statement on the client side, it looks that the client first receive all the content of the table. This caus

why i can't connect to the mysql server from a client pc?

2005-10-18 Thread zhou bin
hi, mysql is a very goode software,so i made mysql_3.23_58 and mysql_4.1 in two of my server, and i changed the root password, but why i can't connect to the mysql server from a client pc(use mysqlcc or any other tools)? the error message is: [206] ERROR 1130: Host '218.4.**.***' is not allowed t

Re: serial primary key produces two indexes

2005-09-14 Thread Kemin Zhou
://dev.mysql.com/doc/mysql/en/news-4-1-0.html http://bugs.mysql.com/bug.php?id=13140 Kemin Zhou <[EMAIL PROTECTED]> wrote: I recently discovered that the following create table ttt ( id serial primary key, txt text ); show index from ttt is telling me that there is a primary ke on id

serial primary key produces two indexes

2005-09-12 Thread Kemin Zhou
I recently discovered that the following create table ttt ( id serial primary key, txt text ); show index from ttt is telling me that there is a primary ke on id column with BTREE and at the same time, there is another unique index on the id column. This is redundant. if the id column

stop loading when error

2005-09-09 Thread Kemin Zhou
when using the loading command load data local infile '/home/kzhou/xxxy.data' into table mytable; it will run to completion, after a long time, then telling me that 90% of the rows are skipped. load data local infile '/home/kzhou/RUN_BLAST/pep2genome_ost9901.tbn.tab' into table peptidetblne

Re: segmentation fault using mysql

2005-08-27 Thread Kemin Zhou
Ed Kasky wrote: Running MySql 4.1.14 on RedHat 7.2 I just upgraded from 4.1.13 to 4.1.14 and was am experiencing problems using the mysql client. # /usr/local/mysql/bin/mysql -h localhost -u root Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 34 to ser

number formating

2005-08-25 Thread Kemin Zhou
Here I have a table column defined as integer type. it stores number from 1 to the hundred range (3 digits). For nice output (without using any external programming languages), I would want the printed type to have zerofill. One way to do it is to convert the type of the column to the zerofill.

Re: BLOB FILES ERRORS

2005-08-11 Thread Kemin Zhou
Hi, I remembered something when playing wiht BLOB. It looks that the select statement does not work well with BLOB. It always add or modify the BLOB a little bit. Later I found out that the client programming interfaces, perl,C++ etc tend to do well on BLOB and files. Kemin Gleb Paharenk

top one row

2005-08-05 Thread Kemin Zhou
I have a simple table col1 col2col3 A 2 3 A 100 70 A 100080 B20 90 B7080 To select the top one row for each unique value of col1 select distinct on (col1), col1, col2, col3 from table order by col1, col2 desc, col3 desc; What

about MySQL

2001-11-17 Thread Zhou Jiang Yang
dear Sir/Madam, I have downloaded mySQL from your company's website. Is it possible to use mySQL as Microsoft's Access or SQL server7.0? that means I can create table very easy. just from window screen. I hope get your reply. Thanks for you help. john --

help on connection mysql

2001-07-26 Thread zhou
the command is: #mysql -e 'select * from http_tb' log_db there are wrong and the information have been printed out: mysql: out of memory (Needed 8164 bytes) So could you tell me why this happen and the minimal required envirment to run mysql well. thanks a