方式一:通过MySQLdb模块
1 | def con_sshDb(self, sql): |
方式二:通过paramiko模块
1 | def con_sshDb(self, sql): |
方式二:通过sqlalchemy模块
1 | def con_sshDb(self, sql): |
MySQLdb模块1 | def con_sshDb(self, sql): |
paramiko模块1 | def con_sshDb(self, sql): |
sqlalchemy模块1 | def con_sshDb(self, sql): |