Linux命令行執行MYSQL語句

[root@localhost ~]# /usr/bin/mysql -N -e "show databases;use centreon2;select count(*) from host;source /home/centreon2.sql" +--------------------+ | information_schema | | centreon2 | |
相關文章
相關標籤/搜索