Are you looking to allow remote connections to your MySQL server? See how you can accomplish that task when on a Magento Plan/Flex Cloud Plan from Nexcess.
Step #1: Log in to your Nexcess Client Portal and then navigate to the Control Panel page.
Step #2: Launch the SiteWorx Control Panel and then submit the IP address to whitelist.
To find out what your IP address, you can check it by navigating to https://ipv4.nexcess.net.
Are you looking to allow remote connections to your MySQL server? See how you can easily accomplish that task when on a Magento Plan or Flexible Cloud Plan from Nexcess.
If you are on a Magento Plan or Flexible Cloud Plan, you can remotely connect to the MySQL server by allowing an IP address via the IP whitelisting process using the Cloud SiteWorx Control Panel.
Connections to remote databases are an essential requirement for many projects. However, on Nexcess servers, remote connections to MySQL are not allowed due to security risks inherent in servers and applications. Due to this policy, all IP addresses are blocked by default.
The purpose of allowing remote MySQL connections is to enable a computer program to access a database on the server. Remote connections are possible with MySQL Workbench or Adobe Dreamweaver or Navicat clients for the MySQL database platform.
Trying to connect to a remote MySQL database can be frustrating if your MySQL instance is only configured to listen for local connections. Although, this is MySQL’s default setting, to allow a remote connection, you must whitelist the IP address for which you want to define connections. If you are using MySQL over SSH, you do not need to whitelist IP addresses.
Please note that this MySQL whitelist IP method only applies to Nexcess clients using Magento Plan Plans and Flex Cloud Plans. If you use Managed WordPress or Managed WooCommerce please get in touch with our 24/7 support team by email or through the Client Portal assistance.
Here is a short list of needed items:
Your Client Portal login credentials, click the Forgot Password? link on the login page if you cannot locate them.
An existing Nexcess Cloud account using Flexible plan or Magento Plan. See the How to create Nexcess Cloud accounts article for more information.
By default, all IPs are blocked and must be whitelisted. To find out what your IP address is, you can check it by navigating to https://ipv4.nexcess.net.
To start the IP whitelisting process, log in to you Nexcess Client Portal.
Starting with a new hosting partner can be overwhelming. For that exact reason, we have prepared a Nexcess Portal Guide to make each client’s introduction to our Nexcess Portal easier.
How to Become a Nexcess Portal Pro
You signed up for an account with Nexcess but now what do you do? New systems can be intimidating to learn, so we’ve put together this guide to help explain what is in the portal and where to find it.
The first thing to do is to navigate to Control Panel page as demonstrated in the video snippet below:
Then, click on the Plans option from the menu on the left side of the screen:
Either click the name of your Magento Plan / Flexible Cloud Plan service, or select Plan Dashboard from the menu toggle:
From the dashboard, select Menu > Control Panel:
Click the Launch Control Panel button:
Your browser will redirect you to the Cloud SiteWorx Control Panel home page:
Here is a short list of steps needed to submit your IP address to the whitelist.
From the SiteWorx main menu, click Hosting Features > Firewall Rules.
In the MySQL Whitelist IP Address field, add the IP address to the whitelist or click on the Whitelist My Current IP button to exercise that option. This option fetches your IP address automatically, and if the IP address is correct, click Submit:
If you have multiple IP addresses, repeat the process.
Please be sure to whitelist your IP address for incoming and outgoing traffic.
How do I find my computer's IP address? To find out what your IP address, you can check it by navigating to https://ipv4.nexcess.net.
To delete a MySQL whitelist IP address, you can click on the Delete button or the corresponding entry to remove any IP whitelisting entry:
Congratulations! You have successfully whitelisted your IP address for MySQL remote connections.
Remotely accessing MySQL requires a third-party MySQL client application. Some of these applications are free, while others require purchasing. Instructions on using the third-party MySQL client application should be provided by the company's website where you downloaded it.
Here are a few of the industry-leading MySQL client applications:
Despite being able to open MySQL to remote connections and to prevent possible security breaches, you should grant privileges to selected users only. Additionally, ensure the users are using very strong passwords. Keeping the MySQL server software up-to-date should help too.
Common connection tips are:
Some common questions that frequently come up include the following.
Question #1: Remote access to the MySQL database server is disabled by default. Why is this?
Answer: The remote access to the MySQL database server is disabled due to security reasons.
Question #2: Can I test my MySQL database remotely and verify database access?
Answer: Yes, you can test the remote MySQL connection using MySQL client applications like MySQL Workbench. Otherwise, you can run the following command from a remote machine with a MySQL client:
Question #3: If my IP constantly changes, what should I do?
Answer: If you have a dynamic IP address, the connecting IP address will keep changing periodically, depending on the Internet Service Provider (ISP). To use the Remote MySQL Functionality, you must update the IP address each time it changes.
There are a few solutions you can try if you are having trouble getting through the firewall with a dynamic IP address:
You can contact Nexcess Support to get your IP address range added to the MySQL Whitelist IP table.
Otherwise, Get static IP addressing instead for your client computers, and then add the IP addresses as firewall rules.
Question #4: When connecting to MySQL, I get a Connection Refused error?
Answer: Our servers block Port 3306 with regard to inbound traffic. Contact us via live chat or a phone call to request that Port 3306 be opened for your IP address to connect remotely.
That's it! We hope this article was helpful. If you need any help, please search for the answer to your question in the within the Nexcess Knowledge Base.
Hosting optimized for the industry's leading platforms, including Managed WordPress Hosting, Managed WooCommerce Hosting, and Managed Magento Hosting:
Build Better Sites and Stores With Fully Managed Hosting from NexcessFaster Speeds, Stronger Security, Inherent Scalability and Trusted Support.
Our range of hosting plans caters to any business scale. We do all the heavy lifting for you to focus on growing your business. In addition, we automatically update ore components and plugins to the latest version and ensure your hosting environment is properly optimized, secured, and updated.
Nexcess infrastructure was specially designed to keep up the best speed and performance in the industry. No traffic surge can threaten your website to go down thanks to our autoscaling technology which adds more resources to your server to handle the load. In addition, we offer always-on security monitoring and support from web hosting experts 24/7/365 and a built-in CDN with 22 locations and advanced caching for ultra-fast loading.
All hosting plans include The Nexcess 30-Day Web Hosting Money Back Guarantee.
Because we're different! Chris Lema captures "the why" in his passionate and stirring recount of a Nexcess support-related story.
Need more help? The Applications, Magento 2 and Magento 1 sections within the Nexcess Knowledge Base are important resources for those seeking additional knowledge.
The Applications section also contains valuable insights for those seeking additional knowledge about our other various hosted applications and platforms. Check out our related video playlists and articles below:
Are you on an accelerated schedule and already ready to move forward? If you need to get started with your Nexcess StoreBuilder Solution sooner rather than later, check out these resources:
Read more about the Fully Managed Cloud Environment by Nexcess and its benefits for your business.
A Cloud Hosting Solution That Lets You Do Business Your Way
We believe in the promise of cloud: scalability, security, performance, and ease of use. Together with our team, clients, and partners, we’ve built something better.
Choose From Multiple Applications
Whether you’re a small business or a high-traffic eCommerce store, our cloud hosting solutions are designed around your needs: auto scaling, PCI compliance, and comprehensive development tools provide you with maximum dynamic flexibility in a fully managed cloud environment.
We make applications easy with environment optimizations for:
And there are many more!
We also have a variety of Nexcess support articles about how best to implement our product offerings housed in the Nexcess Knowledge Base, including how to get your site going with a number of different configuration options. These resources include a great article on setting this up for Migrating to Nexcess with managed WordPress and managed WooCommerce hosting.
If you need any assistance with the above-mentioned, don't hesitate to reach out. For 24-hour assistance any day of the year, Nexcess customers can contact our support team by email or through your Client Portal.
Not a Nexcess customer yet? Check out our fully managed hosting solutions. The option to chat with an expert is also available.
Our award-winning customer care team is here for you.
Contact Support