IAM cluster/region: connect by using Database, Region, Cluster, and URL.įor the URL only connection type, the JDBC URL that you enter is used as is.įor the other connection types, the JDBC URL is broken down into connection details. In the Driver list, leave the default driver option, unless another driver is required for your connection.įrom the Connection type list, select the connection type depending on the connection details that you have:ĭefault: connect by using Host, Port, Database, and URL. In the General tab of Data Sources and Drivers dialog right pane, specify the driver and connection type. Navigate to Data Source and select Amazon Redshift. In the Database Explorer ( View | Tool Windows | Database Explorer), click the New icon ( ) in the toolbar. You can do this using one of the following ways:įrom the main menu, navigate to File | New | Data Source and select Amazon Redshift. To connect to the database, create a data source that will store your connection details. For more information about the Amazon Redshift cluster, refer to Getting Started with Amazon Redshift. Your Amazon Redshift dashboard must have an Amazon Redshift cluster in it. Alternatively, select the object and press Control+F6.Ĭode editor supports all the related statements. To do that, right-click the corresponding object in Database Explorer and select Modify. You can modify both datashares and shared databases. Shared databases, and the datashares that these databases are created on, can be introspected and displayed in Database Explorer. In DataGrip, you can work with shared databases: For more information about configuring Amazon EC2, refer to this tutorial at. In case you want to access a private Amazon Redshift cluster from your local machine, consider using an Amazon Elastic Compute Cloud (Amazon EC2) instance and then creating an SSH tunnel from DataGrip to this instance. It is assumed that you already have the necessary prerequisites and the database is up and running. This topic presents a general procedure on how you can create a data source for the connection to your Amazon Redshift database in DataGrip, and run a test connection. Official documentationįor full information about Amazon Redshift, refer to the official documentation.įor more versions of Amazon Redshift JDBC driver, refer to the official JDBC driver downloads. Only after that you will see the DataGrip interface and will be able to create connections. Get help from the PlanetScale support team, or join our GitHub discussion board to see how others are using PlanetScale.You need to create and open a project from the Welcome Screen. The following MySQL GUI applications have been tested and confirmed to work with PlanetScale databases: Creating new databases is not supported using any GUI tool.However, DDL is supported on development branches and production branches without safe migrations enabled (not recommended). Production branches with safe migrations enforce the use of branching and deploy requests to safely make schema changes and do not support direct DDL as a result.You'll need separate connection details per branch. Each branch of a PlanetScale database is considered an isolated MySQL database.While many standard MySQL statements are supported, there are a few caveats worth calling out: If the connection is successful, you should be able to query your database and perform other supported operations. Make sure to check "Require SSL" as SSL is required to connect to a PlanetScale database. In the application you are using, enter the access information you gathered in the previous step into the appropriate fields. If you do not know the password, you may generate a new credential set by clicking the "New password" button in the Connect modal. As a security best practice, passwords are only displayed when they are created.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |