I am trying to connect Emma to MySQL running on Vagrant Machine with nginx from a remote location. The server (host) has a static ip that can be accessed through internet. It also has its own running MySQL instance that I can connect to. However I want to connect to Vagrant's MySQL from a remote location.
Connecting SQL running on Vagrant machine through remote host?
562 Views Asked by Anakooter At
1
There are 1 best solutions below
Related Questions in MYSQL
- How to Retrieve Data from an MySQL Database and Display it in a GUI?
- How to change woocomerce or full wordpress currency with value from USD to AUD
- window.location.href redirects but is causing problems on the webpage
- Error: local variable 'bramka' referenced before assignment
- Products aren't displayed after fetching data from mysql db (node.js & express)
- status table for all entries (even in different dates) in database changing value when all checkboxes are checked
- Can't Fix Mariadb & Mysql ERROR 2002 (HY000): Can't connect to local server through socket '/tmp/mysql.sock' (2) On MacOs
- Express Mysql getting max ID from table not working cought in a promise
- failed to upload a table from sql file
- Update a MySQL row depending on the ID in Google Sheets Apps Script
- Use row values from another table to select them as columns and establish relations between them (pivot table)
- SQL: Generate combination table based on source and destination column from same table
- How to display the column names which have only unique non-null values in MySQL table?
- mysql query takes too long because of wrong indexes usage
- Multitable joining in Sql
Related Questions in VAGRANT
- Using Vagrant provisioning for Shell Scripts
- Django application hosted in vagrant not available at localhost
- Hash sum mismatch when using vagrant up and apt-get install on MacOS
- Error when molecule through vagrant start VM in vbox (Windows, WSL2)
- Vagarant vm installation issue
- Vagrant can't use default network of libvirt. Vagrant + libvirt, Linux. no network with matching name 'default' (Libvirt::Error)
- Unable to access a Webapp on Tomcat in Vagrant box
- How do I add a C file from my computer to my Github clone repository so i can send it to the actual repository on Github?
- Vagrant transfer file from Guest VM to another Guest VM
- Can't connect to a pod running on different node with k3s and virtualbox
- symlink protocol error when setting up storage:link on vagrant homestead
- PhpStorm not working with Xdebug 3.3 running in Vagrant box using nginx and PHP 8.3
- Laravel homestead Can't Preform Vagrant Up Error Constraints: >= 13.0.0, < 14.0.0
- HTML and Vagrant
- Error: [email protected]: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)
Related Questions in PORTFORWARDING
- where is the port-forward rule file stored in vscode?
- Error in port forwarding when using kubectl
- Is it possible to enable port forwarding on SageMaker Studio Lab instance?
- how to manually set a port forward rule?
- Setting up HTML page on port 8083 in NGINX
- How do I receive TCP messages on an android Emulator from a physcal device
- Framework error on cloudflare global network
- Accessing Flask app running inside a Docker container
- How to perform dynamic port forwarding in rust?
- In which RFC is ssh dynamic tunneling specified?
- nginx configuration for accessing ActiveMQ Artemis web console inside minikube
- 2 Cloud SQL server port forward to cloud proxy vm
- Error connecting to psql database through tunnel on docker port
- Problems with Vscode port forwarding to localhost when using a tunnel to VPS
- How to access localhost:port by domain names
Related Questions in EMMA
- coverage.ec File Format
- Emma(Emmarun) is not working with java 8 .main class not found error
- Emma Coverage Report not generated
- Android.mk jar file import java.lang.Error: packaging failure: java.lang.ClassNotFoundException
- Get coverage info from a coverage.ec file
- What is total executable lines in emma code coverage report
- Java 8: emmarun giving error 'MAIN_CLASS_NOT_FOUND'
- Emma : After instrumenting, test cases fail
- $.ajax post returning 401
- Emma code coverage tool error - Main method not found
- Record test coverage per test case using eclEmma tool
- Robolectric + Emma : Initialization Error
- cannot connect to mysql server through socket 'var run mysqld mysqld.sock on Ubuntu (Emma)
- application code coverage after running UI selenium functional tests
- How to do code coverage for a remote repository deployed in Jboss server using Emma?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You will need to expose the port of the MySQL server's running on Vagrant to the public internet. There are a number of ways, but the simplest should be configuring Vagrant with port forwarding.
Since you already have another MySQL server running on the host, you would need to forward on another (free) port than the default, for example
6306:You would also need to explicitly specify that port in the connection url in Emma.