Installing mysql debian package




















The following are some information on the Debian packages available there and the instructions for installing them:. You may also need to install the libaio library if it is not already present on your system:.

The preferred method is to use the tarball bundle, which contains the packages needed for a basic setup of MySQL. The CPU value indicates the processor type or family for which the package is built, as shown in the following table:.

After downloading the tarball, unpack it with the following command:. In general, install the deb packages unpacked from the tarball with the command see explanations below for the extra steps required for installing the server package :.

The database common files install this package before the other ones :. Install first the package for the database common files see the last bullet , and then pre-configure your server installation by the following command:.

You are asked to provide a password for the root user for your MySQL installation. You might also be asked other questions regarding the installation. You will get option to select for what you want to add via the repository. This will automatically configure the latest Debian repository of the Database on your Debian 11 server.

Extra info: In the future, if you want to add any additional tools using its repository or want to reconfigure it run:. Once you have added the repo, run the system update command to rebuild the cache.

So that the system can recognize the packages available on your newly added repo. Choosing an Installation Package. Extracting the Install Archive. Creating an Option File. Initializing the Data Directory. Starting the Server for the First Time. Windows Postinstallation Procedures. Windows Platform Restrictions. Postinstallation Setup and Testing.

Changes in MySQL 8. Preparing Your Installation for Upgrade. Upgrade Troubleshooting. You may need to install the libaio library if it is not already present on your system:. You are asked to provide a password for the root user for your MySQL installation. You might also be asked other questions regarding the installation. Make sure you remember the root password you set. Users who want to set a password later can leave the password field blank in the dialogue box and just press OK ; in that case, root access to the server is authenticated using the MySQL Socket Peer-Credential Authentication Plugin for connections using a Unix socket file.

For a basic installation of the MySQL server, install the database common files package, the client package, the client metapackage, the server package, and the server metapackage in that order ; you can do that with a single command:. If you are being warned of unmet dependencies by dpkg , you can fix them using apt-get :. All configuration files like my. All binaries, libraries, headers, etc. Debian distributions of MySQL are also provided by other vendors.



0コメント

  • 1000 / 1000