The easiest way to create a DB instance is to use the AWS Management Console. After you create the DB instance, you can use standard MySQL utilities such as MySQL Workbench to connect to a database on the DB instance. Show
Topics
Creating a MySQL DB instanceThe basic building block of Amazon RDS is the DB instance. This environment is where you run your MySQL databases. You can use Easy create to create a DB instance running MySQL with the AWS Management Console. With Easy create, you specify only the DB engine type, DB instance size, and DB instance identifier. Easy create uses the default settings for the other configuration options. When you use Standard create instead of Easy create, you specify more configuration options when you create a database, including ones for availability, security, backups, and maintenance. In this example, you use Easy create to create a DB instance running the MySQL database engine with a db.t2.micro DB instance class. To create a MySQL DB instance with Easy create
Connecting to a database on a DB instance running the MySQL database engineAfter Amazon RDS provisions your DB instance, you can use any standard SQL client application to connect to a database on the DB instance. In this example, you connect to a database on a MySQL DB instance using MySQL monitor commands. To connect to a database on a DB instance using MySQL monitor
For more information about connecting to a MySQL DB instance, see Connecting to a DB instance running the MySQL database engine. If you can't connect to your DB instance, see Can't connect to Amazon RDS DB instance. Deleting a DB instanceAfter you connect to and explore the sample DB instance that you created, delete it so you're no longer charged for it. To delete a DB instance with no final DB snapshot
How do I create a database connection?Create database connections. Click the Connections tab .. Click New connection and choose Database from the menu. The New connection window appears.. Choose the database type you want to connect to. ... . Provide the connection properties for your database. ... . Click Add.. How do I create a database connection in MySQL Workbench?Configure MySQL Workbench. Launch MySQL Workbench.. Click the “+” symbol in the “MySQL Connections” tab to add a new connection.. Configure the connection as follows: ... . Click “Test Connection” to test the connection.. If the connection is successful, click “OK” to save the connection.. How do I access my MySQL database from another computer?Before connecting to MySQL from another computer, the connecting computer must be enabled as an Access Host.. Log into cPanel and click the Remote MySQL icon, under Databases.. Type in the connecting IP address, and click the Add Host button. ... . Click Add, and you should now be able to connect remotely to your database.. How do I create a new database in MySQL?To create a new database in MySQL, you use the CREATE DATABASE statement with the following syntax:. CREATE DATABASE [IF NOT EXISTS] database_name [CHARACTER SET charset_name] [COLLATE collation_name] ... . mysql -u root -p.. |