Précédent   Forum des professionnels en informatique > Bases de données > MySQL > Outils
Outils Forum d'entraide sur les outils pour MySQL. Avant de poster -> Outils MySQL
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 29/11/2006, 10h58   #1
Nouveau Membre du Club
 
Inscription : mars 2003
Messages : 65
Détails du profil
Informations forums :
Inscription : mars 2003
Messages : 65
Points : 30
Points : 30
Par défaut connexion serveur mysql

Bonjour,
je souhaite exporter quotidiennement des données d'une base access vers un serveur mysql sur le web. J'aimerais dans un premier temps réussir à le faire sur mon réseau local.
Pour celà , j'essaie d'utiliser MySQL Migration Toolkit.
Là je saisis l'adresse IP locale de mon petit serveur Mysql, l'utilisateur root, pas de mot passe. Impossible de se connecter, et ceci même avec d'utres noms d'utilisateurs de mon serveur mysql.

Dans la mesure où j'arriverais à faire ceci, il faudra que j'y arrive aussi au travers d'internet, et mon hébergeur ne m'a donné qu'une adresse locale (192.168.1...) du serveur mysql. Comment parvenir à mes fins ?
Quels conseils pouvez-vous me donner ?

Merci d'avance aux experts !
remi59 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 29/11/2006, 11h04   #2
Nouveau Membre du Club
 
Inscription : mars 2003
Messages : 65
Détails du profil
Informations forums :
Inscription : mars 2003
Messages : 65
Points : 30
Points : 30
Voici le message d'erreur obtenu dans Migration Toolkit :

Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Connecting TO source DATABASE AND retrieve schemata names.
CREATE a dummy schema list because Access only has one schema FOR each file.
RETURN schemata list.
Schemata names retrieved successfully.
Initializing JDBC driver ... 
Driver class MySQL JDBC Driver 5.0
Opening connection ... 
Connection jdbc:mysql://192.168.0.111:3306/?user=remi&password=remi&useServerPrepStmts=false&characterEncoding=UTF-8
The connection TO the target DATABASE could NOT be established (error: 0).
ReverseEngineeringMysqlJdbc.getVersion :Communications link failure due TO underlying exception: 
 
** BEGIN NESTED EXCEPTION ** 
 
java.net.SocketException
MESSAGE: java.net.ConnectException: Connection refused: connect
 
STACKTRACE:
 
java.net.SocketException: java.net.ConnectException: Connection refused: connect
	at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)
	at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:276)
	at com.mysql.jdbc.Connection.createNewIO(Connection.java:2666)
	at com.mysql.jdbc.Connection.<init>(Connection.java:1531)
	at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
	at java.sql.DriverManager.getConnection(Unknown Source)
	at java.sql.DriverManager.getConnection(Unknown Source)
	at com.mysql.grt.modules.ReverseEngineeringGeneric.establishConnection(ReverseEngineeringGeneric.java:96)
	at com.mysql.grt.modules.ReverseEngineeringGeneric.getVersion(ReverseEngineeringGeneric.java:116)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.mysql.grt.Grt.callModuleFunction(Unknown Source)
 
 
** END NESTED EXCEPTION **
 
 
 
Last packet sent TO the server was 0 ms ago.
Details: 
com.mysql.jdbc.Connection.createNewIO(Connection.java:2741)
com.mysql.jdbc.Connection.<init>(Connection.java:1531)
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
java.sql.DriverManager.getConnection(Unknown Source)
java.sql.DriverManager.getConnection(Unknown Source)
com.mysql.grt.modules.ReverseEngineeringGeneric.establishConnection(ReverseEngineeringGeneric.java:96)
com.mysql.grt.modules.ReverseEngineeringGeneric.getVersion(ReverseEngineeringGeneric.java:116)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
com.mysql.grt.Grt.callModuleFunction(Unknown Source)
Merci d'avance !
remi59 est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 13h24.


 
 
 
 
Partenaires

Hébergement Web