mysql 5.0.2-alpha-nt

2004-12-05 Thread Elim Qiu
when switch from 5.0.1 to 5.0.2 (without any config /my.ini change) it used 100% cpu for a single command "show tables" (i've 42 tables) and running forever (ate more and more memory) So get back to 5.0.1 and things are fine. -- No virus found in this outgoing message. Checked by AVG Anti-Virus

Server Configuration Help

2004-12-05 Thread ManojSW
Greetings, I am running MySQL (version 4.0.15 max) database on Linux (RH9) box. This linux box is a dedicated database server with following h/w configuration: CPU: 2 * 2.4 Ghz Xeon Processor, 512 K 533 FSB Ram :6GB Hdd:36GB * 5 raid config Typically, this databa

ERROR 1062 (23000): Duplicate entry '' for key 2

2004-12-05 Thread szj
Hi: I am using MySQL under FC2 on Intel P4. I created one table using the following command CREATE TABLE subscriber ( phplib_id varchar(32) NOT NULL default '', $USERCOL varchar(64) NOT NULL default '', domain varchar(128) NOT NULL default '', password varchar(25) NOT NULL default '', fir

Re: Foreign Key Error 1005:150

2004-12-05 Thread Michael Stassen
Something is wrong, but it's hard to say what. It seems unlikely you entered exactly those commands and got an error only on the last ALTER TABLE. First, you need InnoDB tables to support foreign keys, but you don't specify the table engine in your CREATE statements. The default is MyISAM, unle

Re: Foreign Key Error 1005:150

2004-12-05 Thread Heikki Tuuri
Steve, which MySQL version did you use? Both statements work with MySQL-4.1.8 on Linux. [EMAIL PROTECTED]:~/mysql-4.1/client> ./mysql test Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server version: 4.1.8-debug-log Type 'help;' or '\h' for help. Type

MySQL 4.1 and Unicode produces crap

2004-12-05 Thread Yves Goergen
Hello everybody, I have just installed a MySQL Server 4.1.7 on my machine (Win XP SP2 de) to try out my software with the new version. Everything works fine with 4.0.x and I store all data UTF-8 encoded into the tables. This produces a wrong sorting order, but that's not a big issue. Now I have

starting service

2004-12-05 Thread Gerald Preston
I just installed 4.7.1 for XP Pro. I am unable to Start Service. I do not find any error files? I get: "Cannot Create Windows Service for MySQL.Error:0" Any ideas? Thanks, Jerry

stating service

2004-12-05 Thread Gerald Preston
I just installed 4.7.1 for XP Pro. I am unable to Start Service. I do not find any error files? I get: "Cannot Create Windows Service for MySQL.Error:0" Any ideas? Thanks, Jerry

phpmyadmin cannot create database

2004-12-05 Thread Fajar Priyanto
Hi folks, I'm trying phpmyadmin 2.6.0-pl3 with mysql 4.0.15 I notice that when I setup and use the pma user in the config, I cannot create database even when I login with root (using cookie auth). But if I don't use the pma options, I can create database. Can you shed a light on me pls? Thanks. -

Re: More efficient way?

2004-12-05 Thread Michael Stassen
No help for 3.23, but in 4.1 you could use INSERT INTO dailycounters (trackingdate, thingid, count) VALUES (, , 1) ON DUPLICATE KEY UPDATE count = count + 1; assuming a UNIQUE index on the combination of trackingdate and thingid. Michael Jim McAtee wrote: Ah, I see what you're saying. Each

Foreign Key Error 1005:150

2004-12-05 Thread steven . p . long
I am unable to define a foreign key with the following three tables. I am unable to find the error having searched the documentation and tried several variations. Note that I created the first two tables with and without the index clause in the table ddl with no difference in outcome. The t

Backup and Restore

2004-12-05 Thread lakshmi.narasimharao
Hi All, I need to backup and restore MySQL database using ODBC from my client machine. My database is in the remote server. I am building my backup command using C program. Example: My backup will have the following. Mysqldump -h host name -u username -p password --databases > dump.dmp

ppm install problems

2004-12-05 Thread Gerald Preston
I am trying to install ODBC and it does nothing. I am running version 4.1.7 on XP Pro. PPM hangs when I query Tk as well. What is going on? Thanks, Jerry

Re: Cannot GRANT REPLICATION SLAVE

2004-12-05 Thread Batara Kesuma
Hi Paul, > Generally this happens when you upgrade to a newer version of MySQL > but don't upgrade the grant tables. See bullet 4 on this page: > > http://dev.mysql.com/doc/mysql/en/Upgrade.html Arghh OK!!! Thank you very much. It is ok after I run mysql_fix_previlege_table. --bk -- MySQ