shell 直接创建表


#!/bin/bash
mysql -hdatabases -uroot  -p^xxxxasdasdadd <<EOF
        Create Database If Not Exists MyDB Character Set UTF8;
        Create Table If Not Exists MyDB.MyTable(
                ID Bigint(8) unsigned Primary key Auto_Increment,
                thTime DateTime,
                name  VarChar(128)
        )Engine MyISAM


相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-29
  • 2021-10-03
  • 2021-11-02
  • 2021-12-04
  • 2021-08-04
  • 2021-08-23
相关资源
相似解决方案