V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
MySQL 5.5 Community Server
MySQL 5.6 Community Server
Percona Configuration Wizard
XtraBackup 搭建主从复制
Great Sites on MySQL
Percona
MySQL Performance Blog
Severalnines
推荐管理工具
Sequel Pro
phpMyAdmin
推荐书目
MySQL Cookbook
MySQL 相关项目
MariaDB
Drizzle
参考文档
http://mysql-python.sourceforge.net/MySQLdb.html
autung
V2EX  ›  MySQL

大家帮我看看 my.ini 配置有没有问题,为什么无法登入 mysql 用户

  •  1
     
  •   autung · 2016-12-04 15:51:03 +08:00 · 2789 次点击
    这是一个创建于 2697 天前的主题,其中的信息可能已经有所发展或是发生改变。
    [mysqld]
    skip-grant-tables
    
    # Remove leading # and set to the amount of RAM for the most important data
    # cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
    # innodb_buffer_pool_size = 128M
    
    # Remove leading # to turn on a very important data integrity option: logging
    # changes to the binary log between backups.
    # log_bin
    
    # These are commonly set, remove the # and set as required.
    # basedir = E:\mysql-5.7.16-winx64
    # datadir = E:\mysql-5.7.16-winx64\data
    # port = 3306
    # server_id = .....
    
    2 条回复    2016-12-05 14:00:00 +08:00
    nyanyh
        1
    nyanyh  
       2016-12-05 11:41:06 +08:00
    你这个 basedir datadir 虽然改了,但是前面注释的#号没删除啊
    autung
        2
    autung  
    OP
       2016-12-05 14:00:00 +08:00
    @nyanyh 已经解决问题了,谢谢
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4997 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 09:48 · PVG 17:48 · LAX 02:48 · JFK 05:48
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.