Prosygma UK Prosygma France Prosygma Italie
    
     Accueil     Commander     Clients     Téléchargements     Contacts     I-mode        Offre spéciale
   Hébergement ASP-PHP
      Pack PRO I
      Pack PRO II
      Pack PRO III
   Hébergement .NET
      Pack .NET I
      Pack .NET II
      Pack .NET III
   Revendeurs
      SEMI-DEDIE I
      SEMI-DEDIE II
      SERVEURS DEDIES
   Hébergement divers
     - WEBDEV
     - STREAMING
   Services
      NOM DE DOMAINE
      HTTPS & SSL
      E-COMMERCE
      SQL SERVEUR
      WEBMAIL
      REFERENCEMENT
      E-SAUVEGARDE
   Les + Prosygma
      NOS TARIFS
      LE RESEAU
      ASSISTANCE
      FORMATIONS
   Outils
      WHOIS
      FAQ
      Aide IIS
      Ressource KIT FP
      Composants ASP
     PARTENAIRES
     
     
     

Solutions hébergement
Support et Assistance technique.
 
Imprimer Sauvegarder Ajouter cette page à vos Favoris :-)
  
  [Merak serveur de mail - Le serveur de messagerie]
 
Comment-configurer-Merak-pour-qu-il-utilise-ODBC-avec-MySQL-
 
 

L'intégration d'ODBC n'est possible qu'avec la licence Merak Professionnelle.
Les principales étapes sont :

  1. Création d'une base de données pour Merak
  2. Création d'un DSN (Data Source Name)
  3. Configuration de Merak pour qu'il utilise la base de données ODBC

1. Creation of a Database for Merak

You have to create one database in MySQL which will be used by Merak. You can get the MySQL command line by typing the "mysql -u <username> password <password>" to a command prompt.

I created "example" DB.

MySQL - Create DB

2. Creation of a System DSN

Go to Control Panel - Administrative Tools - Data Sources (ODBC) - System DSN - Add

The "Create New Data Source" dialog will open. Choose the ODBC driver you installed (in that case the MyODBC):

MySQL - New DSN

Then the "DSN Configuration" will appear.

MySQL - New DSN 2

Fill it in according to your settings as it is described in Help:

DSN Information

Description

Data Source Name

Identifies the MySQL ODBC 3.51 Driver and enter the name that you want to use it as a reference

Description

Description About the Data Source Name

MySQL Connection Parameters

Description

Host/Server Name (IP)

Enter the host name of the MySQL server, to which you want to connect. By default it is 'localhost'.

Database Name

Enter the default MySQL database name (catalog name) to be used

User Name

Enter the user name

Password

Password

Port

The TCP/IP port to use if it is not listening to the default one, 3306

SQL Command On Connect

Optional SQL statement that will be executed when connected to server

(C) MySQL AB, 1995-2002, www.mysql.com

I have set a user "zbynek" with some password "passw" after the installation of MySQL on my server with full rights to database "example". I filled in my information with the "DSN Configuration". I installed MySQL on the same server as Merak is running. If I want to place my database on another server, I would set the DSN on the server where Merak is running and point to the DSN on the server where MySQL is running.

Of course, it is much better to have SQL server installed on another server than Merak because it is much better for performance (you can have dedicated server for SQL server). I used localhost in this example just because of simplicity.

3. Switching Merak to use ODBC

Open Merak Configuration Console and go to System -> Storage -> Accounts tab. Here switch Merak to ODBC (without apply, just to be able to edit odbc settings) and set the right settings in the db.ini (click on "DB.INI File" button)

Accounts Tab

Set the syntax according to the Example file for db.ini. In my example I had to add:

MySQLSyntax=1

Now go to 'ODBC Settings' dialog and fill in the DSN name, username and password you set up in your 'DSN Configuration' delimited by semi-colon.

MySQL - ODBC Settings

Test the connection and if everything is working fine, save the settings by clicking 'OK' and go back to 'ODBC settings' and use 'Create Tables' to create the table structure in your database.

MS SQL 2k - New DSN 8

Now you can import the domains/users to the ODBC by clicking the 'Convert To ODBC' button. Press F5 to reload and now Merak will work with your MySQL DB.


retour


Nos serveurs sont désormais des serveurs
Pentium 3 Ghz, 1 Go Ram

 La formule de base est à 10 Euros TTC / mois
Si vous avez des besoins plus spécifiques (composants, espace disque...), nous sommes la pour répondre à vos questions.
Rappel : les frais d'installation sont gratuits


Prosygma Hébergeur ASP élu meilleur site.
 
Trois nouveaux composants ASP sont désormais en place sur toutes nos formules.Il s'agit de ASPIMAGE, ASPPOP3 et ASPMAIL.


La dernière version de Microsoft® .NET Framework contient tout ce qu'il vous faut pour faire fonctionner des applications .NET Framework est disponible sur nos serveurs

Cliquez içi pour commander votre hébergement .Net

Votre nom de domaine en .com, .net ou .org au prix unique : 20 Euros

  Vérifiez la disponibilité d'un nom de domaine