zoukankan      html  css  js  c++  java
  • mariadb 安装配置

    1、安装

    mariadb-install-db.exe
    mysqld install
    

      

    2、修改utf8编码

    [mysqld]
    default-storage-engine = innodb
    innodb_file_per_table
    max_connections = 4096
    collation-server = utf8_general_ci
    character-set-server = utf8
    [client]
    default-character-set=utf8
    [mysql]
    default-character-set=utf8
    

      

    3、重启服务修复数据库

    net stop mysql
    net start mysql
    mysqlcheck -u root -p --auto-repair --optimize --all-databases

     

  • 相关阅读:
    POJ 1673
    POJ 1375
    POJ 1654
    POJ 1039
    POJ 1066
    UVA 10159
    POJ 1410
    POJ 2653
    POJ 2398
    POJ 1556
  • 原文地址:https://www.cnblogs.com/shya/p/13636970.html
Copyright © 2011-2022 走看看