Some MySql Questions
来源:互联网 发布:dbscan算法 编辑:程序博客网 时间:2024/05/21 04:40
(1). Forgot password
===================
Modify password:
1. Open cmd
2. C:/Program Files/MySQL/MySQL Server 5.0/bin>Net stop mysql
3. C:/Program Files/MySQL/MySQL Server 5.0/bin>mysqld-nt --skip-grant-tables
4. Open new cmd
5. C:/Program Files/MySQL/MySQL Server 5.0/bin>mysql.exe
6. use mysql
7. update user set password=password("new_password") where user="root";
8. flush privileges;
9. exit
10. restart mysql server
(2). Import exception
==============================
java.lang.IllegalArgumentException: Packet is larger than max_allowed_packet from server configuration of
Added max_allowed_packet=64M in my.ini .
(3). Restore error
=======================
When restore the dbdump use MySql Administrator tool , will throw error message.
But use common line : mysql restor the db dump is ok:
C:/Documents and Settings/Administrator>cd "c:/Program Files/MySQL/MySQL Server
5.0/bin"
C:/Program Files/MySQL/MySQL Server 5.0/bin>mysql -u root -p xwikiApp< "d:/
letian/Maintain Project/LiveRun/xwikiApp.sql"
Enter password:
=> If dbdump is bigger, need modify:
max_allowed_packet=256m
wait_timeout=2888000000
interactive_timeout=2888000000
- Some MySql Questions
- some questions
- Some questions
- Discovers some questions
- Some other questions
- Some questions about ConcurrentLinkedQueue
- some C++ questions
- Some Questions about eXtremeDB Log
- Some questions about RT-preempt
- Some questions about ambient noise
- Some interesting questions raised by Google
- Some questions on MapGuide Enterprise 2007
- Hydrogenaudio Forums Some questions from a
- Some common questions in English Interview
- Some questions can test your C ability
- Install caffe Some questions--in ubuntu 14.04
- Some Questions of Process API(1)
- some questions and tips about java
- EnterCriticalSection和LeaveCriticalSection的用法
- Oracle体系结构
- 必应将推Android客户端
- 关于Java匿名类
- 修改 VSS 默认登录用户名三种方法
- Some MySql Questions
- ntp服务器
- platform builder 的目录结构
- Overlapped I/O,在你身后变戏法
- 禁止搜索引擎蜘蛛(爬虫)
- NEWB的IPHONE4
- [伪][译]关于本博客
- 太阳谷曾密会李彦宏 - 谷歌施密特
- hello