Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/67.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Mysql 如何将命令输出附加到MariaDB数据库?_Mysql_Linux_Bash_Shell_Mariadb - Fatal编程技术网

Mysql 如何将命令输出附加到MariaDB数据库?

Mysql 如何将命令输出附加到MariaDB数据库?,mysql,linux,bash,shell,mariadb,Mysql,Linux,Bash,Shell,Mariadb,如何将Linux shell命令的输出附加到MariaDB数据库 我既不是SQL专家,也不是shell脚本大师,我确实了解数据库的工作原理,也了解Linux shell的基本功能和基本SQL查询,但这超出了我需要实现的知识范围 我感谢你的帮助 谢谢。shell命令是否生成SQL语句?如果是: your_script | mysql -uuser -ppwd

如何将Linux shell命令的输出附加到MariaDB数据库

我既不是SQL专家,也不是shell脚本大师,我确实了解数据库的工作原理,也了解Linux shell的基本功能和基本SQL查询,但这超出了我需要实现的知识范围

我感谢你的帮助


谢谢。

shell命令是否生成SQL语句?如果是:

your_script | mysql -uuser -ppwd