Department of Mathematics and Computer Science

www.univ-soukahras.dz/en/dept/mi

Module: corruption et déontologie de travail

  1. Information
  2. Questions

sharing db (mysql)

4 votes

how i can access a database mysql with another pc

Asked on 01:01, Saturday 7 May 2016 By Aterrai Zakaria (81 points)
In corruption et déontologie de travail


answers (3)




Answer (1)

-4 votes

yes you can, if you are in the same network ( autre mot, tu peut utilise les acces pour les adresse ip en fixent les cordonnée ) exemple : 

Class.forName("com.mysql.jdbc.Driver");         
con = DriverManager.getConnection("jdbc:mysql://192.168.0.1:3306/dbtina", "root","1234");

Answered on 20:06, Saturday 7 May 2016 by amirat abdallah (256 points)
In corruption et déontologie de travail



Answer (2)

1 votes

Amirat Abdalah  j'utilise  http://10.0.2.2/ pour acceder mon bdd mysql a l'aide des fichiers php contenu des info sur ma bdd et ma requéte 

Answered on 20:37, Saturday 7 May 2016 by Aterrai Zakaria (81 points)
In corruption et déontologie de travail



Answer (3)

-1 votes

for android ? okay
in the first see that : http://stackoverflow.com/questions/15732853/how-to-connect-android-app-to-mysql-database 

this for connection with db and android by php :

http://www.tutorialspoint.com/android/android_php_mysql.htm

this how to run your application in mobile : 

https://www.youtube.com/watch?v=13DPpfuP1Zs

goodluck my friend ( i have only this ) 

 

Answered on 23:13, Saturday 7 May 2016 by amirat abdallah (256 points)
In corruption et déontologie de travail



Do you have an answer ?