1. download mysql5.0GA
ftp://ftp.cs.pu.edu.tw/Unix/mysql/Downloads/MySQL-5.0/mysql-max-5.0.24-solaris10-x86_64.pkg.gz
2. unzip and pkgadd
groupadd mysql
useradd -g mysql mysql
gunzip mysql-max-5.0.24-solaris10-x86_64.pkg.gz
pkgadd -d mysql-max-5.0.24-solaris10-x86_64.pkg
3. change root password
default root’s password is ‘’
mysqladmin -u root password new_password
or
shell> mysql -u root mysql
mysql> SET PASSWORD FOR root=PASSWORD(’new_password’);
4. Add LAN Access
shell> mysql -u root mysql -p
Enter password: password
mysql>
mysql>use mysql;
mysql>select host, user from user;
+———–+——+
| host | user |
+———–+——+
| localhost | |
| localhost | root |
| loghost | |
| loghost | root |
+———–+——+
mysql>GRANT ALL PRIVILEGES ON *.* TO root@’%’
IDENTIFIED BY ‘123′ WITH GRANT OPTION;
OR
mysql>INSERT INTO user (Host,User,Password)
VALUES(’%',’root’,PASSWORD(’123′));
mysql> FLUSH PRIVILEGES;
now:
mysql>select host, user from user;
+———–+——+
| host | user |
+———–+——+
| % | root | —> net access
| localhost | |
| localhost | root |
| loghost | |
| loghost | root |
+———–+——+
5. winxp MySQLAdministrator you can use; root & 123
reference:
1. #To remove a package: pkgrm package_name
#To get a full list of installed packages: pkginfo
#To get detailed information for a package: pkginfo -l package_name
#To list the files belonging to a package: pkgchk -v package_name
#To get packaging information for an arbitrary file: pkgchk -l -p file_name
分享到:
相关推荐
Oracle Solaris 9 - SunVTS 5.0 Test Reference Manual-408
博文链接:https://balaschen.iteye.com/blog/111717
Oracle Solaris 9 SunVTS 5.0 User’s Guide-156
Solaris 10中Apache2-Mysql 安装
NULL 博文链接:https://wangxiang286.iteye.com/blog/954067
solaris10_mysql安装包_pkg包 因为实在太大了,分了几个包上传
Solaris8,Solaris9,Solaris10,Solaris 11 iso镜像下载
solaris10_mysql安装包_pkg包 因为实在太大了,分了几个包上传
Solaris 10 X86安装的详细教程
solaris10_mysql安装包_pkg包 因为实在太大了,分了几个包上传
solaris10_mysql安装包_pkg包 因为实在太大了,分了几个包上传
Solaris™ 10 System Administration Essentials is the centerpiece of the new series on Solaris system administration. It covers all of the breakthrough features of the Solaris 10 operating system in ...
Solaris 10 for X86 + PHP 5 + MySQL 5详细配置说明,有每一部的操作过程,该平台经验证可以支持Discuz,Joomla,Supesite等PHP语言的CMS软件,可作为LAMP(linux+apache+mysql+php)的替代平台。
Oracle Solaris 11.1 Creatinga Custom Oracle Solaris11.1 Installation Image-32
在solaris10 amd x86_64bit上安装oracle-10gr2在solaris10 amd x86_64bit上安装oracle-10gr2在solaris10 amd x86_64bit上安装oracle-10gr2在solaris10 amd x86_64bit上安装oracle-10gr2在solaris10 amd x86_64bit上...