易截截图软件、单文件、免安装、纯绿色、仅160KB

mysql 数据库卸载不完全,配置出错解决办法

The security settings could not be applied to the database because the connection has failed with the following error.
Error Nr. 2003
Can't connect to MySQL server on 'localhost' (10061)
If a personal firewall is running on your machine, please make sure you have opened the TCP port 3306 for connections. Otherwise no client application can connect to the server. After you have opened the port please press [Retry] to apply the security settings.
If you are re-installing after you just uninstalled the MySQL server please note that the data directory was not removed automatically. Therefore the old password from your last installation is still needed to connect to the server. In this case please select skip now and re-run the Configuration Wizard from the start menu.
*****************************************************************************************
The security settings could not be applied to the database because the connection has failed with the following error.
Error Nr. 1045
Access denied for user 'root'@'localhost' (using password: YES)
If a personal firewall is running on your machine, please make sure you have opened the TCP port 3306 for connections. Otherwise no client application can connect to the server. After you have opened the port please press [Retry] to apply the security settings.
If you are re-installing after you just uninstalled the MySQL server please note that the data directory was not removed automatically. Therefore the old password from your last installation is still needed to connect to the server. In this case please select skip now and re-run the Configuration Wizard from the start menu.
MySQL 5.1 安装过程中报apply security setting错误的解决办法
1, 卸载MySQL
2, 删除目录 C:\Documents and Settings\All Users\Application Data\MySQL
3, 重新安装MySQL 就 OK 啦
------------------------------------------
[MySQL] Could not start the service MySQL 解决方法
安装mysql 5.1.33,在运行Server Instance Configuration wizard时的Execut


相关文档:

mysql命令

一 . 安装与配置MYSQL
  二 . 常用mysql命令行命令
  1 .mysql的启动与停止
  启动MYSQL服务 net start mysql
  停止MYSQL服务 net stop mysql
  2 . netstat –na | findstr 3306 查看被监听的端口 , findstr用于查找后面的端口是否存在
  3 . 在命令行中登陆MYSQL控制台 , 即使用 MYSQL COM ......

mysql 时间的处理

TO_DAYS(date)   //给定一个日期,返回从0年开始的天数。
from_DAYS(N)   //给定一个天数,返回一个日期。
如:
select TO_DAYS('1997-10-7')   //返回729669
select from_DAYS(729669)    //返回1997-10-7
UNIX_TIMESTAMP(), UNIX_TIMESTAMP(date)
若无参数调用,则返 ......

java代码执行mysql的数据备份和批量数据插入!

mysql数据库本身有数据备份和批量数据插入的命令,java代码可执行这些命令。
安装mysql后,需要设置环境变量:我的电脑右击--属性--高级--环境变量,增加MYSQL_HOME=“mysql安装路径”,然后path=%MYSQL_HOME%\bin
代码如下:
import java.io.BufferedReader;
import java.io.FileInputStream;
import java. ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号