install mysql using binary and configure manu

(1)下载,解压

(2)初始化数据库

./scripts/mysql_install_db --defaults-file=../my.cnf --user=guofeng

(3)启动命令

./bin/mysqld --defaults-file=/home/guofeng/local/mysql2/my.cnf --skip-grant-table &

最后登录mysql的命令是

./bin/mysql --defaults-file=../my.cnf -h 127.0.0.1 --port=3555 -u root -p

./bin/mysql -h 127.0.0.1 --port=3555 -u root -p 任然有问题

[2]中后面的root用户登录设置方面可以试一下

[1]http://www.martijn-onderwater.nl/2010/11/23/installing-mysql-on-linux-without-root-privileges/

[2] http://blog.csdn.net/lmm2003/article/details/6915920

时间: 2024-08-10 19:17:49

install mysql using binary and configure manu的相关文章

How to Install MySQL on CentOS 7

How to Install MySQL on CentOS 7 Updated Thursday, August 27th, 2015 by Linode Use promo code DOCS10 for $10 credit on a new account. Try this Guide Contribute on GitHub View Project | View File | Edit File MySQL is a popular database management syst

How to Install MySQL 5.6 from Official Yum Reposit

Tags: MySQL Distribution: CentOS Submitted by: Morgan TockerMySQL Community Manager @ Oracle Introduction In October 2013, the MySQL development team officially launched support for yum repositories. This means that you can now ensure that you have t

install mySQL on RHEL 32bit

3 ways to install mysql # yum install mysql mysql-server # rpm -ivh MySQL-client-5.6.23-1.linux_glibc2.5.i386.rpm MySQL-server-5.6.23-1.linux_glibc2.5.i386.rpm install by binary file (may need to install cmake gcc gcc-c++ ncurses first): a. # tar xvf

Install MySQL 5.7 on Fedora 25/24, CentOS/RHEL 7.3/6.8/5.11

1. Change root user Bash su - ## OR ## sudo -i 2. Install MySQL YUM repository Fedora Bash ## Fedora 25 ## dnf install https://dev.mysql.com/get/mysql57-community-release-fc25-9.noarch.rpm ## Fedora 24 ## dnf install https://dev.mysql.com/get/mysql57

ubuntu install mysql server method

     recently try to install mysql in my computer so that  I can practise some sql statement on sever.But there are some problem while install mysql package in my ubuntu system.I hava tried lots of ways to move on. at last.I find there is a best way

yum install mysql(转载)

linux下使用yum安装mysql 1.安装查看有没有安装过:          yum list installed mysql*          rpm -qa | grep mysql* 查看有没有安装包:          yum list mysql* 安装mysql客户端:          yum install mysql 安装mysql 服务器端:          yum install mysql-server           yum install mysql-d

How to Install MySQL

Install MySQL from zip on windows 10: Download MySQL first, then extract MySQL to directory, derectory location can be anywhere but I suggest don't use space character on it's name. now we need create file my.ini for MySQL configuration inside it's d

Install MySQL 5.7.5-m15 on Ubuntu Server 14.04 LTS from Source

This post documents the steps of installing MySQL from source code, and the resolutions to serveral issues in installing. The steps here are specific to 64-bit Ubuntu 14.04.1 LTS, and MySQL source code is 5.7.5-m15. But I think most of them can also 

Install MySQL on Mac by Homebrew

1.  安装mysql brew update brew install mysql 2. 启动mysql mysql.server start 3. 登录mysql mysql -uroot -p 密码为空,直接回车,即进入mysql 4. 退出mysql Control+Z