当前位置:首页 > 云服务器 > 正文

阿里云服务器装数据库(阿里云服务器如何安装数据库)

How to attach a database to Alibaba Cloud rds database (rds database is not as good as self-built database)

Method 1: Client: Mysql-Front

First, start Mysql-Front A dialog box for adding a conversation will pop up. You can enter any name in the name field.

Secondly, click on the "Connections" tab.

At the server: fill in the RDS data instance link name (such as .alabs).

At port: 3306.

Then, click the Registration tab, enter the database username and password filled in when applying for the database in the User and Password fields, and click the small box shown by the arrow below to select the database to be connected< /p>

Finally, when the database login dialog box pops up, please continue to click the OK button. You can connect to and use the RDS database.

Method 2: Navicat_mysql

Input the data instance link address, port (default 3306), database user name and database password in the connection input box, and click OK.

Method 3: Mysql command login

After the user installs the MySQL client, he can enter the command line to connect to the database.

Command format: mysql-user_alabs-P3306-pxxxx

Among them, -u specifies the user name, -h specifies the host name, and -P The port is specified, and -p is the password.

How to install mysql that comes with Alibaba Cloud Server

Installation of 1.4 MySQL database server

I just purchased the Alibaba Cloud server and also purchased a domain name. How to configure it?

1. First purchase the domain name and register it with Alibaba Cloud. After passing the registration, you will get a domain name. To purchase a free SSL certificate from Alibaba Cloud, first apply for verification, fill in the domain name, and review the SSL certificate. After passing the review, click to deploy the balanced load and deploy it to the server in Shenzhen area.
2. Domain name resolution: Domain name resolution can be directly resolved to Alibaba Cloud's DNS server through Alibaba Cloud's own domain name resolution function. Generally, you can enter the domain name through the browser and access the server within a few hours.
3. The first step is to log in to the Alibaba Cloud server and establish iis. Because the website is built on iis, iis is necessary. The second step is to configure the server environment and install the database. The third step is to establish it on iis. website and bind the domain name to the website.