Кавычки не нужны (во всяком случае в моей перконе, работает и без них)
Code:
yukra@yukra-ThinkPad-Edge-E330 ~ $ ssh zabbix Last login: Fri Jul 31 09:02:27 2015 from 194.226.8.79 [ykurilkin@zabbix ~]$ sudo su - [root@zabbix ~]# mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 129460 Server version: 5.6.25-73.1 Percona Server (GPL), Release 73.1, Revision 07b797f Copyright (c) 2009-2015 Percona LLC and/or its affiliates Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> use zabbix; Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> select SUM(value) from history where itemid = 59423 and clock > 1435650000; +-----------------+ | SUM(value) | +-----------------+ | 2625765685.0000 | +-----------------+ 1 row in set (1 min 26.09 sec) mysql>
)
Comment