Install package
There are two installation packages, one is server (which is a process that has been executing), one client (need to use command line access)-Install server-installation will error, rely on a Perl language package, need to download in advance- Direct access to the disc in the virtual machine (this package is available on the installation CD and does not need to be downloaded)
Note: This is where the disc is hung, and then the mount point is accessed for operation.
Find the file in the destination file: Find. -name perl*-Find the file and copy it out-
Go to the copied directory: cd/var/ftp/pub-install RPM-RVH name:
Install MySQLServer:
Verify that it is started:
Verify that the package is installed:
This will show no, mainly because of the case case, in Linux is strictly case-sensitive.
To install the client:
At this point you can use the command line for the database operation, as for the user name password needs to run a special command settings, the default root user password is empty.
To view the database:
To set up MySQL self-boot:
Note: Turn off MySQL first, then check the boot order, which is on by default, so you don't need to set it up.
Specific operation:
Local:
A package that is local to the Perl language needs to be installed.
The cause of the dependency error:
rpm是redhat系的包管理器,ubuntu是debian系的,debian系的包管理器是dpkg。 需要用deb包来安装,而不是rpm包,dpkg -i 来安装。 apt是dpkg的前端,这个好用,apt-get install mysql``
找到需要的那个perl包——复制——安装
安装server
检查server是否启动
Linux installation MySQL