Connect to MemSQL data source
The Bold Reports® Designer supports connecting MemSQL database using SQL Query. You can connect with basic options, advanced options, or through a secure SSH tunnel.
How do I choose the MemSQL data source?
To choose the MemSQL data source in the Bold Reports® Designer, open the Data configuration panel and select the MemSQL connection type.
- Click the Data icon in the configuration panel.

- In the
DATAconfiguration panel, click theNEW DATAbutton.
- In the connection type panel, choose the
MemSQLdata source type.
How do I create a MemSQL data source with basic options?
When you create a new data source in the Bold Reports® Designer, the NEW DATASOURCE panel shows the basic options.
- Specify the data source name without special characters in the Name field.
- In the Server Name field, specify the remote server name, like
myserver.domain.com. - In the Port field, specify the Port number. The default port number is
3306. - Specify the username of your MemSQL server in the Username field.
- Specify the password of your MemSQL server in the Password field.
- Enable the Save password option to embed the credentials within the report when saving it in Bold Reports® Report Server.
- Choose or enter an existing valid database, e.g. Northwind.

- Click
Connectto open the query design pane. Enter the required query and execute it. The corresponding values appear in a grid for preview.
Only query mode is supported for MemSQL data source.
- Click
Finishto save the data source with a relevant name and continue designing the report.
How do I connect to MemSQL through an SSH tunnel?
Bold Reports® lets you connect to a MemSQL data source using a secure SSH tunnel. The SSH tunnel provides a more secure method for connecting, especially when you access remote databases over untrusted or insecure networks.

Refer to Configuring SSH tunnel for data connectors for more details.
How do I create a MemSQL data source with advanced options?
The Bold Reports® advanced options let you build your own connection string for MemSQL.
-
Click
Advanced Optionsin theNew Datapanel.
-
The panel switches to advanced options. Set the connection string and input the username and password of the MemSQL server.

-
Click
Connectto open the query design pane. Enter the required query and execute it. The corresponding values appear in a grid for preview.
Only query mode is supported for MemSQL data source.
-
Click
Finishto save the data source with a relevant name and continue designing the report.
Click
Basic Optionsto switch back to the basic connection settings.

Authentication types for advanced connection
Bold Reports® advanced MemSQL connections support database credentials, prompted credentials, or no credentials.

Authentication - A user name and password must be supplied to access the database, the credentials might be for a database login. The credentials are passed to the data source for authentication.

Enable the Save Password option to embed the credentials within the report when saving it in Report Server.
On report download action, the credentials will be not be saved with report data.
Prompt - When you configure a data source connection to use prompted credentials, each user who accesses the report must enter a user name and password on preview action to retrieve the data.

None - Choose the authentication type as None when the authentication details or any other arguments required to connect with the data source are provided in the connection string.
Frequently asked questions
What is the default MemSQL port?
The default port number is 3306.
Does the MemSQL data source support design view?
No. Only query mode is supported for the MemSQL data source.
Can I connect to MemSQL through an SSH tunnel?
Yes. Bold Reports® supports connecting to a MemSQL data source through a secure SSH tunnel.