Rechercher : dans
Par :

MySQL connection

Dernière réponse le 7 sep 2009 à 16:24:06 yesetno1000, le 17 jan 2009 à 21:21:31 
 Signaler ce message aux modérateurs

Bonjour,

J'ai essayé de connecter à MySQL a répondu:Documentation
#2003 - Can't connect to MySQL server on 'localhost' (10051)

J'ai installé Wamps.

Et j'ai desactive mon par-feux kapersky...pour l'installation.

Est-ce que c'est une question de Port,

J'ai viré skype .

est ce que un problème de vista
Pourriez-vous m'aider merci.

Configuration: Windows Vista
Firefox 3.0.1

Meilleures réponses pour « MySQL connection » dans :
Connexion à la base de données avec JDBC VoirConnexion à la base de données L'API (Application Programming Interface) JDBC, c'est-à-dire la bibliothèque de classes JDBC, se charge de trois étapes indispensables à la connexion à une base de données : la création d'une connexion à la...
Administration de MySQL VoirLa base de données mysql Les Système de Gestion de Bases de Données tels que MySQL permettent de manipuler facilement et avec beaucoup de souplesse un très important volume de données. Toutefois, aussi robuste soit MySQL, il peut être intéressant...
PHP - Bases de données VoirPhp permet un interfaçage très simple avec un grand nombre de bases de données. Lorsqu'une base de données n'est pas directement supportée par Php, il est possible d'utiliser un driver ODBC, pilote standard pour communiquer avec les bases de...

1

a-dawg, le 18 jan 2009 à 13:03:26
  • +1

Wamp est un serveur apache que tu installe en local il fonctionne sur le port 80 ou port http

je pense pas que ça soit un problème de parer feu mais comment fais-tu pour accéder à la base?

quel url tu tape??

Répondre à a-dawg

2

yesetno1000, le 18 jan 2009 à 13:11:24

Je te remercie de me repondre:

Msql log

090118 12:56:12 InnoDB: Error: unable to create temporary file; errno: 2
090118 12:56:12 [ERROR] Plugin 'InnoDB' init function returned error.
090118 12:56:12 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
090118 12:56:12 [ERROR] wampmysqld: unknown variable 'innodb_log_arch_dir=C:/xampp/mysql/'
090118 12:56:12 [ERROR] Aborting

090118 12:56:12 [Note] wampmysqld: Shutdown complete


voici ce qui est marqué.

merci.

Répondre à yesetno1000

3

yesetno1000, le 18 jan 2009 à 13:24:23

Apache error, voici ce qui marqué.

[Sun Jan 18 12:56:13 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.8 configured -- resuming normal operations
[Sun Jan 18 12:56:13 2009] [notice] Server built: Dec 10 2008 00:10:06
[Sun Jan 18 12:56:13 2009] [notice] Parent: Created child process 2272
[Sun Jan 18 12:56:13 2009] [notice] Child 2272: Child process is running
[Sun Jan 18 12:56:13 2009] [notice] Child 2272: Acquired the start mutex.
[Sun Jan 18 12:56:13 2009] [notice] Child 2272: Starting 64 worker threads.
[Sun Jan 18 12:56:13 2009] [notice] Child 2272: Starting thread to listen on port 80.
[Sun Jan 18 12:59:35 2009] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico
[Sun Jan 18 12:59:38 2009] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico
[Sun Jan 18 13:08:46 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Sun Jan 18 13:08:46 2009] [notice] Child 2272: Exit event signaled. Child process is ending.
[Sun Jan 18 13:08:47 2009] [notice] Child 2272: Released the start mutex
[Sun Jan 18 13:08:48 2009] [notice] Child 2272: All worker threads have exited.
[Sun Jan 18 13:08:48 2009] [notice] Child 2272: Child process is exiting
[Sun Jan 18 13:08:48 2009] [notice] Parent: Child process exited successfully.
[Sun Jan 18 13:08:59 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.8 configured -- resuming normal operations
[Sun Jan 18 13:08:59 2009] [notice] Server built: Dec 10 2008 00:10:06
[Sun Jan 18 13:08:59 2009] [notice] Parent: Created child process 4320
[Sun Jan 18 13:09:00 2009] [notice] Child 4320: Child process is running
[Sun Jan 18 13:09:00 2009] [notice] Child 4320: Acquired the start mutex.
[Sun Jan 18 13:09:00 2009] [notice] Child 4320: Starting 64 worker threads.
[Sun Jan 18 13:09:00 2009] [notice] Child 4320: Starting thread to listen on port 80.
[Sun Jan 18 13:21:31 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Sun Jan 18 13:21:31 2009] [notice] Child 4320: Exit event signaled. Child process is ending.
[Sun Jan 18 13:21:32 2009] [notice] Child 4320: Released the start mutex
[Sun Jan 18 13:21:33 2009] [notice] Child 4320: All worker threads have exited.
[Sun Jan 18 13:21:33 2009] [notice] Child 4320: Child process is exiting
[Sun Jan 18 13:21:33 2009] [notice] Parent: Child process exited successfully.
[Sun Jan 18 13:21:34 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.8 configured -- resuming normal operations
[Sun Jan 18 13:21:34 2009] [notice] Server built: Dec 10 2008 00:10:06
[Sun Jan 18 13:21:34 2009] [notice] Parent: Created child process 3636
[Sun Jan 18 13:21:34 2009] [notice] Child 3636: Child process is running
[Sun Jan 18 13:21:34 2009] [notice] Child 3636: Acquired the start mutex.
[Sun Jan 18 13:21:34 2009] [notice] Child 3636: Starting 64 worker threads.
[Sun Jan 18 13:21:34 2009] [notice] Child 3636: Starting thread to listen on port 80.

Répondre à yesetno1000

4

yesetno1000, le 18 jan 2009 à 13:35:26

http://localhost/


Ca fonctionnne.



maintenant c'est un autre probleme:


Erreur

MySQL a répondu:Documentation
#2003 - Can't connect to MySQL server on 'localhost' (10051)


J'ai autorise le par-feux kasperky pour que Apache puisse faire son boulot.

Répondre à yesetno1000

5

yesetno1000, le 18 jan 2009 à 14:09:52

Voici ce que Apache me marque

[Sun Jan 18 13:47:54 2009] [notice] Apache/2.2.8 (Win32) PHP/5.2.6 configured -- resuming normal operations
[Sun Jan 18 13:47:54 2009] [notice] Server built: Jan 18 2008 00:37:19
[Sun Jan 18 13:47:54 2009] [notice] Parent: Created child process 5780
[Sun Jan 18 13:47:55 2009] [notice] Child 5780: Child process is running
[Sun Jan 18 13:47:55 2009] [notice] Child 5780: Acquired the start mutex.
[Sun Jan 18 13:47:55 2009] [notice] Child 5780: Starting 64 worker threads.
[Sun Jan 18 13:47:55 2009] [notice] Child 5780: Starting thread to listen on port 80.

je te remercie encore

Répondre à yesetno1000

6

yesetno1000, le 18 jan 2009 à 22:02:14

Probleme régler j'ai remis à jour mon wnidows vista par une une image de sauvegarde Acronis,

je pense que le probléem venait d'avoir installe joomla, il y a un mois, et qu'au moment de l'installation Wamps, il n'accepte pas la bonne configuration.
:-)

Répondre à yesetno1000

7

 costic, le 7 sep 2009 à 16:24:06

'innodb_log_arch_dir=C:/xampp/mysql/'

Le problème venait plus certainement qu'il doit y avoir une variable d'environnement qui fout la merde après l'installation de xampp...

Et c'est sûrement du fait que tu as installé xampp avant d'installer wamp... :)

++

Répondre à costic