Admin> select id from srs;
+----+
| id |
+----+
| 1 |
| 2 |
+----+
2 rows in set (0.00 sec)
Admin> select * from srs;
ERROR 2000 (HY000): Unknown MySQL error
Admin> select id from srs;
ERROR 2013 (HY000): Lost connection to MySQL server during query
Admin> select id from srs;
ERROR 2006 (HY000): MySQL server has gone away
No connection. Trying to reconnect...
Connection id: 11
Current database: test
+----+
| id |
+----+
| 1 |
| 2 |
+----+
2 rows in set (0.02 sec)
If i add a second column , then error goes away.
Admin> show create table srs;
+-------+----------------------------------------------------------------------------------------------------------------------------------------------+
| Table | Create Table |
+-------+----------------------------------------------------------------------------------------------------------------------------------------------+
| srs | CREATE TABLE `srs` (
`id` int(11) NOT NULL,
`name` varchar(10) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 |
+-------+----------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
Admin> select * from srs;
+----+--------+
| id | name |
+----+--------+
| 1 | suresh |
| 2 | suresh |
+----+--------+
2 rows in set (0.00 sec)
Thanks
Suresh
--
You received this message because you are subscribed to the Google Groups "proxysql" group.
To unsubscribe from this group and stop receiving emails from it, send an email to proxysql+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.