mysqlforlinux下載64位
啊,這30分太容易了吧,地址:http://dev.mysql.com/downloads/mysql/5.1.html
『貳』 到mysql官網去下載linux版的mysql,網頁上不知道怎麼下載啊!!
終端命令行下載,簡單粗暴。
『叄』 我現在要在linux redhat 5 64位上安裝mysql 5.1.31,求個安裝包,或是下載地址,謝謝各位
官網上的都有,地址:
http://downloads.mysql.com/archives.php?p=mysql-5.1&o=other
分要給我啊。
『肆』 mysql安裝版64位怎麼安裝
http://dev.mysql.com/downloads/mysql/5.6.html#downloads
這是msyql安裝包官網下載地址,打開後根據你的操作系統類型選擇相應的安裝包下載。
如果是windows 系統可以下載64位zip安裝包,解壓安裝就行了。
如果是linux系統需要根據你的系統內核下載對應的安裝包,一般下載clint和server兩個就行了,
如MySQL-server-5.6.31-1.el7.x86_64.rpm 和 MySQL-client-5.6.31-1.el7.x86_64.rpm
安裝的時候執行命令: rpm -ivh MySQL-client-5.6.31-1.el7.x86_64.rpm
『伍』 linux下安裝mysql
方法如下:
到mysql官網下載mysql編譯好的二進制安裝包,在下載頁面Select Platform:選項選擇linux-generic,然後把頁面拉到底部,64位系統下載Linux - Generic (glibc 2.5) (x86, 64-bit),32位系統下載Linux - Generic (glibc 2.5) (x86, 32-bit)
解壓32位安裝包:
進入安裝包所在目錄,執行命令:tarmysql-5.6.17-linux-glibc2.5-i686.tar.gz
復制解壓後的mysql目錄到系統的本地軟體目錄:
執行命令:cpmysql-5.6.17-linux-glibc2.5-i686 /usr/local/mysql -r
注意:目錄結尾不要加/
添加系統mysql組和mysql用戶:
執行命令:groupadd mysql和useradd -r -g mysql mysql
安裝資料庫:
進入安裝mysql軟體目錄:執行命令 cd /usr/local/mysql
修改當前目錄擁有者為mysql用戶:執行命令chown -R mysql:mysql ./
安裝資料庫:執行命令./scripts/mysql_install_db --user=mysql
修改當前目錄擁有者為root用戶:執行命令chown -R root:root ./
修改當前data目錄擁有者為mysql用戶:執行命令chown -R mysql:mysql data
到此資料庫安裝完畢
啟動mysql服務和添加開機啟動mysql服務:
添加開機啟動:執行命令cp support-files/mysql.server /etc/init.d/mysql,把啟動腳本放到開機初始化目錄
啟動mysql服務:執行命令service mysql start
執行命令:ps -ef|grep mysql 看到mysql服務說明啟動成功,如圖
修改mysql的root用戶密碼,root初始密碼為空的:
執行命令:./bin/mysqladmin -u root password '密碼'
把mysql客戶端放到默認路徑:
ln -s /usr/local/mysql/bin/mysql /usr/local/bin/mysql
『陸』 如何安裝mysql for linux
mysql在linux下有三種安裝方式,依照難以程度排序: 第一種是yum install mysql,這種安裝方式最簡單,初學可以採用。但是這種安裝的弊端是安裝的版本比較低,現在安裝的話是5.17的版本。 第二種方式是下載最新的MySQL-5.6.25-1.rhel5.x86_64.rpm-bundle.tar,解壓縮後,用rpm -ivh 包名,安裝四個包就可以了,注意先後順序。 第三種方式是下載最新的mysql-5.6.27-linux-glibc2.5-i686.tar.gz,解壓縮後,手動配置。主要包括配置:增加mysql用戶和群組;拷貝my-default.inf文件為my.inf到/etc/下;安裝並初始化/mysql-5.6.27/scripts/mysql_install_db --user=mysql --basedir=/... --datadir=/...;增加到服務中chkconfig --add mysql ,chkconfig mysql on ;啟動服務service mysql start ;修改root初始密碼。操作完以上幾部基本上就可以了。
『柒』 mysql linux ubuntu下載
你的是ubuntu哪個版本?
『捌』 mysql-5.1.45 linux 64位的下載地址,要詳細啊! 跪求啊!!!大哥大姐大爺們幫幫我吧!!
http://www.mysql.com/downloads/mysql/
去官網看看
『玖』 誰有mysql for linux的rpm安裝包
1、准備對應的安裝文件
下載頁面:http://dev.mysql.com/downloads/mysql/
找到對應的版本及所需的文件進行下載,如果下載的為tar文件,請使用tar解壓
本人在Oracle Edelivery 下載,所以為V44331-01.zip
#安裝環境
[root@linux1 Mysql_src]# cat /etc/issue
Enterprise Linux Enterprise Linux Server release 5.5 (Carthage)
Kernel \r on an \m
#源文件路徑
[root@linux1 Mysql_src]# pwd
/Mysql_src
[root@linux1 Mysql_src]# unzip V44331-01.zip
Archive: V44331-01.zip
extracting: MySQL-embedded-advanced-5.6.17-1.rhel5.i386.rpm
extracting: MySQL-test-advanced-5.6.17-1.rhel5.i386.rpm
extracting: MySQL-shared-advanced-5.6.17-1.rhel5.i386.rpm # MySQL的共享庫
extracting: MySQL-devel-advanced-5.6.17-1.rhel5.i386.rpm # MySQL的庫和頭文件
extracting: MySQL-client-advanced-5.6.17-1.rhel5.i386.rpm # MySQL客戶端程序
extracting: MySQL-server-advanced-5.6.17-1.rhel5.i386.rpm # MySQL服務端程序
extracting: MySQL-shared-compat-advanced-5.6.17-1.rhel5.i386.rpm # RHEL兼容包
extracting: README.txt
2、MySQL默認安裝路徑
Directory Contents of Directory
/usr/bin Client programs and scripts
/usr/sbin The mysqld server
/var/lib/mysql Log files, databases
/usr/share/info Manual in Info format
/usr/share/man Unix manual pages
/usr/include/mysql Include (header) files
/usr/lib/mysql Libraries
/usr/share/mysql Miscellaneous support files, including error messages,
character set files, sample configuration files, SQL for database installation
/usr/share/sql-bench Benchmarks
3、安裝MySQL
[root@linux1 Mysql_src]# rpm -ivh MySQL-server-advanced-5.6.17-1.rhel5.i386.rpm
Preparing... ########################################### [100%]
1:MySQL-server-advanced ########################################### [100%]
2014-04-15 17:26:59 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated.
Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2014-04-15 17:26:59 6524 [Note] InnoDB: Using mutexes to ref count buffer pool pages
...........................
2014-04-15 17:27:06 6558 [Note] InnoDB: FTS optimize thread exiting.
2014-04-15 17:27:06 6558 [Note] InnoDB: Starting shutdown...
2014-04-15 17:27:08 6558 [Note] InnoDB: Shutdown completed; log sequence number 1625987
A RANDOM PASSWORD HAS BEEN SET FOR THE MySQL root USER !
You will find that password in '/root/.mysql_secret'.
You must change that password on your first connect,
no other statement but 'SET PASSWORD' will be accepted.
See the manual for the semantics of the 'password expired' flag.
Also, the account for the anonymous user has been removed.
In addition, you can run:
/usr/bin/mysql_secure_installation
# Author : Leshami
# Blog : http://blog.csdn.net/leshami
which will also give you the option of removing the test database.
This is strongly recommended for proction servers.
...........中間省略................
New default config file was created as /usr/my.cnf and
will be used by default by the server when you start it.
You may edit this file to change server settings
[root@linux1 Mysql_src]# rpm -ivh MySQL-client-advanced-5.6.17-1.rhel5.i386.rpm
Preparing... ########################################### [100%]
1:MySQL-client-advanced ########################################### [100%]
[root@linux1 Mysql_src]# rpm -ivh MySQL-devel-advanced-5.6.17-1.rhel5.i386.rpm
Preparing... ########################################### [100%]
1:MySQL-devel-advanced ########################################### [100%]
4、初始化MySQL及密碼
[root@linux1 Mysql_src]# service mysql start
Starting MySQL.. [ OK ]
[root@linux1 Mysql_src]# more /root/.mysql_secret
# The random password set for the root user at Tue Apr 15 17:27:05 2014 (local time): lyHfNb87EBXhJDe2
[root@linux1 Mysql_src]# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.6.17-enterprise-commercial-advanced
mysql> set PASSWORD=PASSWORD('mysql');
Query OK, 0 rows affected (0.01 sec)
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| performance_schema |
| test |
+--------------------+
4 rows in set (0.03 sec)
5、允許遠程登陸
mysql> use mysql;
Database changed
mysql> select host,user,password from user;
+-------------------+------+-------------------------------------------+
| host | user | password |
+-------------------+------+-------------------------------------------+
| localhost | root | * |
| linux1.orasrv.com | root | * |
| 127.0.0.1 | root | * |
| ::1 | root | * |
+-------------------+------+-------------------------------------------+
4 rows in set (0.02 sec)
mysql> update user set password=password('mysql') where user='root';
mysql> update user set host='%' where user='root' and host='localhost';
mysql> flush privileges;
mysql> exit
6、配置開機自啟動
[root@linux1 Mysql_src]# chkconfig --list mysql
mysql 0:off 1:off 2:on 3:on 4:on 5:on 6:off
如果沒有的話使用chkconfig mysql on 設置自啟動