Feed on
Posts
Comments

Tag Archive 'MySQL'

[MySQL] 相关SQL语句

连接数据库:mysql [host] –u [user] –p
查看数据库:show databases;  列出数据库服务器上所有数据库
查看当前使用的数据库:select database(); 
使用数据库:use [database name]  ; 切换到需要操作的数据库
查看表:    [......]

继续阅读

Read Full Post »

机器环境: Redhat RHEL 5 中vmware下的XP虚拟系统 .
安装Mysql5.1.33在MySQL Server Instance Config Wizard时,Apply secrurity Settings 失败,错误信息为不能连接到该端口,请查看是否关闭防火墙,能及相关端口是否[......]

继续阅读

Read Full Post »

[MySQL] MySQL区分大小写问题

这次一个数据采集的项目在开发的时候在WINDOWS平台下开发的,开发完了之后在LINUX环境上部署好之后,运行时MySQL数据库报错,提示为某个表不存在之类的错误信息,后来修改了MySQL的配置文件将大小写敏感去掉,问题解决。
这个问题的根源在于,在 MySQL 中,数据库和表其实就是数据目录下的目[......]

继续阅读

Read Full Post »

安装mysql 5.1.33,在运行Server Instance Configuration wizard时的Execute configurattion步骤中的第三项Start Service进出错,错误提示为Could not start the service MySQL (出现这种情况一般[......]

继续阅读

Read Full Post »