Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9079513
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T19:51:10+00:00 2026-06-16T19:51:10+00:00

I have installed MySQL to my local computer. I can access MySQL from my

  • 0

I have installed MySQL to my local computer. I can access MySQL from my Java Application which is running on my computer.

My connection string is private String url = "jdbc:mysql://localhost:3306/mydatabase" which allows me to connect successfully. But when I deploy my application to other computers on my LAN and try to connect to my MySQL databases from the other computers I can’t access my database.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T19:51:11+00:00Added an answer on June 16, 2026 at 7:51 pm

    As others have mentioned in the comments, you issue is your connection string: private String url = "jdbc:mysql://localhost:3306/mydatabase"

    In order for you to be able to connect to your database from other machines on your LAN you will need to change localhost to your IP address. For example:

    private String url = "jdbc:mysql://192.168.0.10:3306/mydatabase"

    Providing that the other machines can see 192.168.0.10 they will be able to connect (with the right credentials of course!)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I installed MySQL on a linux system. I have running Debian. I can access
I have MySQL running with the ASP Membership Schema I have installed the connector,
I recently installed xampp, followed the installation. MySQL/apache. (I have same website running on
I have MySQL installed in the /usr/local/bin/ . I need to be able to
I am running Mac OS X 10.5.8. I have installed Python 2.6 from the
I've installed the MySQL workbench version 5.2.34 and having problems creating a local connection.
I have recently installed SQLDeveloper and connected to mysql through it, after which I
I have a C#.Net windows application. Where MYSQL is installed on server say 11.90.109.19
I have mysql installed on my mac (running OSX Snow Leopard). According to everything
I have installed Mysql 5.1 on Mac OS X 10.7 Lion. For some reason,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.