Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
I'm setting up a setting.properties in my project where i can access my mySQL workbench database from my project and grab some datas.
Where do i find my connection String in the program?
On the Home screen of MySQL Workbench, right click on the desired MySQL Connection and you will see an option to 'Copy Connection string to Clipboard',
Add a comment
There's no connection string in MySQL Workbench. I assume you mean one that can be used e.g. via ODBC or Java?
Instead you have to create it yourself with the credentials you used to connect in Workbench, plus any additional info.
in MySQL Workbench - Go to your connections in home page . Right click - select option "Copy JDBC Connection String to Clipboard".
example : jdbc:mysql://127.0.0.1:3306/?user=root
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.