Bug #13671 Infinite errors during creation of a federated table
| Submitted: | 30 Sep 2005 21:46 | Modified: | 30 Sep 2005 22:26 |
|---|---|---|---|
| Reporter: | Stephane PAQUOT | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server | Severity: | S2 (Serious) |
| Version: | 5.0.13 max | OS: | Windows (Windows XP) |
| Assigned to: | MySQL Verification Team | CPU Architecture: | Any |
[30 Sep 2005 21:46]
Stephane PAQUOT
[30 Sep 2005 22:12]
MySQL Verification Team
On Linux:
miguel@hegel:~/dbs/5.0> bin/mysqladmin -uroot create cgcam
miguel@hegel:~/dbs/5.0> bin/mysql -uroot cgcam
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2 to server version: 5.0.14-rc-debug
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> CREATE TABLE `t_asi_users` (
-> `id` int(3) NOT NULL default '0',
-> `login` char(3) NOT NULL default '',
-> `nom` varchar(30) NOT NULL default '',
-> `prenom` varchar(30) NOT NULL default '',
-> `pwd` varchar(32) NOT NULL default '',
-> PRIMARY KEY (`id`),
-> UNIQUE KEY `idx_login` (`login`)
-> )
-> ENGINE MyISAM DEFAULT CHARSET=latin1;
Query OK, 0 rows affected (0.07 sec)
mysql> grant all on cgcam.* to 'qry_cgcam_r'@'192.168.0.33' identified by 'faspas';
Query OK, 0 rows affected (0.01 sec)
mysql>
On Windows:
c:\mysql\bin>mysql -uroot cgcam
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2 to server version: 5.0.13-rc-nt-max
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> CREATE TABLE `t_asi_users` (
-> `id` int(3) NOT NULL default '0',
-> `login` char(3) NOT NULL default '',
-> `nom` varchar(30) NOT NULL default '',
-> `prenom` varchar(30) NOT NULL default '',
-> `pwd` varchar(32) NOT NULL default '',
-> PRIMARY KEY (`id`),
-> UNIQUE KEY `idx_login` (`login`)
-> )
-> ENGINE=FEDERATED
-> DEFAULT CHARSET=latin1
-> CONNECTION='mysql://qry_cgcam_r:faspas@hegel:3306/cgcam/t_asi_users';
Query OK, 0 rows affected (0.22 sec)
mysql> show create table t_asi_users\G
*************************** 1. row ***************************
Table: t_asi_users
Create Table: CREATE TABLE `t_asi_users` (
`id` int(3) NOT NULL default '0',
`login` char(3) NOT NULL default '',
`nom` varchar(30) NOT NULL default '',
`prenom` varchar(30) NOT NULL default '',
`pwd` varchar(32) NOT NULL default '',
PRIMARY KEY (`id`),
UNIQUE KEY `idx_login` (`login`)
) ENGINE=FEDERATED DEFAULT CHARSET=latin1
1 row in set (0.00 sec)
mysql>
[30 Sep 2005 22:16]
Stephane PAQUOT
Hi Miguel, I'm really sorry for having wasted your time. I didn't think you would analyze this problem so quickly. This problem is completely my fault : there was a special character at the end of the sql file. I apologize. Best regards.
[30 Sep 2005 22:26]
MySQL Verification Team
Thank you for the feedback.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.041 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.