How to connect to MySQL server in LAN
- by waelbk
Ok, Here is the technical description.
My laptop's config:
Ip Adress:192.168.2.5
Mysqlserver 5.0 on port : 3306
Operating system: Ubuntu
the database is in this machine
My friend's laptop config:
Ip Adress:192.168.2.4
Mysqlserver 5.0 on port : 3306
Operating system: Windows XP
Both are on a wireless LAN connected through a belkin router (192.168.2.1)
I put this but its not working:
url = "jdbc:mysql://192.168.2.5:3306/Database"
so how configure to connect to this database?