表示 进入内容 8118201042
« 先前的 10 新的记录 | 下一步 10 较早的记录 »
Displaying posts with tag: Blog (reset)
mysql navicat提权

MYSQL的服务器上都一般都会安装navicat管理工具 有二个方法提权: 1、navicat管理的MySQL服务器信息(一般是root帐户)是存在注册表里的,具体是HKEY_CURRENT_USER\Software\PremiumSoft\Navicat\Servers下,导出注册表导入到本机然后星号察看就OK了。

【服务器】  【mysql】  【日志】  【cto】  【Blog】  【navicat】   …

[获取更多]
LAMP环境搭建

一、安装 MySQL     平时安装MySQL都是源码包安装,但是由于它的编译需要很长的时间,所以安装二进制免编译包。     MySQL官方网站下载: http://dev.mysql.com/downloads/     sohu镜像站下载:http://mirrors.

【php】  【mysql】  【Apache】  【数据库】  【配置】  【镜像】   …

[获取更多]
Table '' is marked as crashed and should be repaired 解决方法

解决方法:

找到mysql的安装目录的bin/myisamchk工具,在命令行中输入:

1

myisamchk -c -r ../data/mysql/user.MYI

然后myisamchk 工具会帮助你恢复数据表的索引。

【mysql】  【索引】  【cto】  【Blog】   点击查看原文>

orzdba监控工具【增加远程监控】

orzdba工具默认必须在本地使用,这不是很方便,现增加了远程调用。

使用方法: ./orzdba_remote --host=192.168.148.1 --user=admin  --password=123456  --port=3308 -mysql -sys

附件下载脚本。

【mysql】  【脚本】  【监控工具】  【cto】  【Blog】   点击查看原文>

mysql创建新用户并授权访问操作该数据库

1.mysql -uroot -p 2.输入密码: 3.update mysql.user set authentication_string=password('123456') where user='oneuser' and Host = '%'; 4.grant all privileges on onetable.* to oneuser@'%' identified by '123456'; 5.flush privileges;

然后外部连接数据库。

【mysql】  【数据库】  【BY】  【grant】  【update】  【cto】  【Blog】   …

[获取更多]
mysql表修复脚本

  #!/bin/bash  #author:itnihao  #mail:itnihao@qq.com  #date 2013-02-18  #version v1.0  #function:repair mysql table        User=root      Password=123456      Host=192.

【mysql】  【脚本】  【database】  【cto】  【Blog】  【Bash】   …

[获取更多]
yum安装mysql 5.6

vim /etc/yum.repos.d/mysql.repo # Enable to use MySQL 5.6 [mysql56-community] name=MySQL 5.6 Community Server baseurl=http://repo.

【mysql】  【yum】  【Server】  【file】  【Blog】   点击查看原文>

mysql批量修改表引擎

生成修改的语句 SELECT CONCAT('ALTER TABLE ',table_name,' ENGINE=InnoDB;') FROM information_schema.tables WHERE table_schema='ambari' AND ENGINE='MyISAM';

本文转自 yntmdr 51CTO博客,原文链接:http://blog.

【mysql】  【innodb】  【Ambari】  【cto】  【Blog】  【myisam】   点击查看原文>

自动部署LNMP脚本

签:lnmp 本文转载:http://manual.blog.51cto.com/3300438/1722282  基本内容如下:

#!/bin/bash #Data:2015-12-09 #Version:1.

【nginx】  【php】  【mysql】  【memcached】  【脚本】  【Blog】  【CMake】   点击查看原文>

[MySQL FAQ]系列 -- 如何快速比较查询结果是否一致

利用mysql客户端的pager功能即可: mysql> pager md5sum - PAGER set to 'md5sum -' mysql> select * from user; b20bd3864962507e2e05cd8706440ffd - 3 rows in set (0.

【faq】  【mysql】  【cto】  【Blog】   点击查看原文>

表示 进入内容 8118201042
« 先前的 10 新的记录 | 下一步 10 较早的记录 »