Xampp MYSQL auf windows 2003

Alles, was MariaDB und MySQL betrifft, kann hier besprochen werden.

Xampp MYSQL auf windows 2003

Postby skaiser » 28. April 2009 09:16

Guten Tag werte Damen und Herren,

mir stellt sich folgende Situation in den weg.

Auf unserem Windows 2003 Standard Server lauft bereits ein Webserver von Tobit Software.

Nun wollen wir eine MySQL Datenbank(Xampp) auf dem Windowsserver installieren.

Meine Frage ist nun, wie ich es bewerkstellige das beides sauber miteinander läuft.

Mit freundlichen Grüßen

S Kaiser
skaiser
 
Posts: 9
Joined: 28. April 2009 09:06

Re: Xampp MYSQL auf windows 2003

Postby Wiedmann » 28. April 2009 09:39

Auf unserem Windows 2003 Standard Server lauft bereits ein Webserver von Tobit Software.

Nun wollen wir eine MySQL Datenbank(Xampp) auf dem Windowsserver installieren.

Also ein Datenbank- (MySQL-) Server, stört sich nicht an einem auf dem selben Rechner schon laufenden Webserver.

Wenn du allerdings auch den Webserver (Apache) vom im XAMPP benutzen/starten willst, muss einer deiner Webserver auf einem anderen TCP/IP Port laufen, oder sie müssen verschiedene IP-Adressen benutzen.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Xampp MYSQL auf windows 2003

Postby skaiser » 28. April 2009 10:03

Ich habe bereits versucht in der httpd.conf bereits versucht den port von 80 auf 81 zu ändern.

localhost:81

jedoch startet apache immer noch mit dem port 80.

Was das MySQL angeht, so denke ich Apache sowiso benötigt wird, da zum Betrieb von phpmyadmin php
benötigt wird.


Freundliche Grüße

Skaiser
skaiser
 
Posts: 9
Joined: 28. April 2009 09:06

Re: Xampp MYSQL auf windows 2003

Postby Wiedmann » 28. April 2009 10:07

jedoch startet apache immer noch mit dem port 80.

Woher weist du das?

Was das MySQL angeht, so denke ich Apache sowiso benötigt wird, da zum Betrieb von phpmyadmin php benötigt wird.

Für phpMyAdmin wird Apache benötigtm richtig. Nur wird ja von MySQL nicht phpMyAdmin benötigt...

Eigentlich hast du ja auch geschrieben, dass du eine MySQL Datenbank installieren willst. Da bräuchte es auch keinen XAMPP, sondern man könnte einfach einen MySQL Server installieren.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Xampp MYSQL auf windows 2003

Postby Nobbie » 28. April 2009 10:20

Wiedmann wrote:Für phpMyAdmin wird Apache benötigtm richtig.


Selbst das würde ich so nicht gelten lassen - für phpMyAdmin wird lediglich ein Webserver benötigt, der CGI unterstützt (und das tun eigentlich alle). Und via PHP CGI kann phpmyadmin aufgerufen werden.

Wenn da bereits ein vollständiger Webserver läuft (ich kenne Tobit nicht), dann müßte es möglich sein, phpmyadmin unter diesem vorhandenen Webserver zu starten.
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Re: Xampp MYSQL auf windows 2003

Postby skaiser » 28. April 2009 10:35

Ich starte Apache über das Xampp Control Panel, welches mir ja anzeigt über welchen Port das gestartet wird.

jedoch kann ich pypmyadmin weder über "localhost:81/phpmyadmin" noch über "localhost/phpmyadmin"

erreichen. localhost ist somit der schon vorhandenen Webserver von Tobit.

phpmyadmin läuft jedoch nicht unter dem anderen Server von Tobit.

Während Localhost:81 halt der Apache sein soll.

Zur veranschaulichung hier mal die httpd.conf in gekürzter Form:
Diei geänderten Werte habe ich dazu FETT markiert.



---------------------------------------------
ThreadsPerChild 250
MaxRequestsPerChild 0


ServerRoot "C:/Programe/xampp/apache"


Listen 81


LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule authn_alias_module modules/mod_authn_alias.so
LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_dbd_module modules/mod_authn_dbd.so
LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authn_file_module modules/mod_authn_file.so
#LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_host_module modules/mod_authz_host.so
#LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule cache_module modules/mod_cache.so
#LoadModule disk_cache_module modules/mod_disk_cache.so
#LoadModule file_cache_module modules/mod_file_cache.so
LoadModule mem_cache_module modules/mod_mem_cache.so
LoadModule cern_meta_module modules/mod_cern_meta.so
LoadModule charset_lite_module modules/mod_charset_lite.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule dir_module modules/mod_dir.so
#LoadModule dumpio_module modules/mod_dumpio.so
LoadModule env_module modules/mod_env.so
LoadModule expires_module modules/mod_expires.so
LoadModule ext_filter_module modules/mod_ext_filter.so
LoadModule headers_module modules/mod_headers.so
LoadModule ident_module modules/mod_ident.so
#LoadModule imagemap_module modules/mod_imagemap.so
LoadModule include_module modules/mod_include.so
LoadModule info_module modules/mod_info.so
LoadModule isapi_module modules/mod_isapi.so
LoadModule ldap_module modules/mod_ldap.so
#LoadModule logio_module modules/mod_logio.so
LoadModule log_config_module modules/mod_log_config.so
#LoadModule log_forensic_module modules/mod_log_forensic.so
LoadModule mime_module modules/mod_mime.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule negotiation_module modules/mod_negotiation.so
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
#LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule speling_module modules/mod_speling.so
LoadModule status_module modules/mod_status.so
LoadModule unique_id_module modules/mod_unique_id.so
#LoadModule userdir_module modules/mod_userdir.so
LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule version_module modules/mod_version.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule ssl_module modules/mod_ssl.so


### SVN from XAMPP devel package ###
#LoadModule dav_svn_module modules/mod_dav_svn.so
#LoadModule authz_svn_module modules/mod_authz_svn.so

# 'Main' server configuration

#
# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g. admin@your-domain.com
#
ServerAdmin admin@localhost

#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
#ServerName localhost:81

ServerName 127.0.0.1:81

#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "C:/Programe/xampp/htdocs"

<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>



#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "C:/Programe/xampp/htdocs">

Options Indexes FollowSymLinks Includes ExecCGI


AllowOverride All

#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all

</Directory>

#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
DirectoryIndex index.php index.php4 index.php3 index.cgi index.pl index.html index.htm index.shtml index.phtml
</IfModule>


<FilesMatch "^\.ht">
Order allow,deny
Deny from all
</FilesMatch>

#
# ErrorLog: The location of the error log file.

ErrorLog logs/error.log

#
# LogLevel:
LogLevel warn

<IfModule log_config_module>
#
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
#
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common

<IfModule logio_module>
# You need to enable mod_logio.c to use %I and %O
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
</IfModule>

#
# The location and format of the access logfile (Common Logfile Format).

CustomLog logs/access.log common

#
# If you prefer a logfile with access, agent, and referer information
# (Combined Logfile Format) you can use the following directive.
#
#CustomLog logs/access.log combined
</IfModule>

<IfModule alias_module>

ScriptAlias /cgi-bin/ "C:/Programe/xampp/cgi-bin/"

</IfModule>

#
# "C:/Programe/xampp/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "C:/Programe/xampp/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>




DefaultType text/plain

<IfModule mime_module>

TypesConfig conf/mime.types


AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz


AddHandler cgi-script .cgi


AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
</IfModule>



EnableMMAP off
EnableSendfile off


# XAMPP specific settings
Include conf/extra/httpd-xampp.conf

# Server-pool management (MPM specific)
# Include conf/extra/httpd-mpm.conf

# Multi-language error messages
Include conf/extra/httpd-multilang-errordoc.conf

# Fancy directory listings
Include conf/extra/httpd-autoindex.conf

# Language settings
Include conf/extra/httpd-languages.conf

# User home directories
Include conf/extra/httpd-userdir.conf

# Real-time info on requests and configuration
Include conf/extra/httpd-info.conf

# Virtual hosts
Include conf/extra/httpd-vhosts.conf

# Local access to the Apache HTTP Server Manual
Include conf/extra/httpd-manual.conf

# Distributed authoring and versioning (WebDAV)
Include conf/extra/httpd-dav.conf

# Various default settings
Include conf/extra/httpd-default.conf

# Secure (SSL/TLS) connections
Include conf/extra/httpd-ssl.conf

#
# Note: The following must must be present to support
# starting without SSL on platforms with no /dev/random equivalent
# but a statically compiled-in mod_ssl.
#
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
skaiser
 
Posts: 9
Joined: 28. April 2009 09:06

Re: Xampp MYSQL auf windows 2003

Postby Wiedmann » 28. April 2009 10:59

Ich starte Apache über das Xampp Control Panel, welches mir ja anzeigt über welchen Port das gestartet wird.

Das zeigt immer 80 an, egal was konfiguriert ist.

Code: Select all
Listen 81

jedoch kann ich pypmyadmin weder über "localhost:81/phpmyadmin" noch über "localhost/phpmyadmin"

Was passiert denn bei "http://localhost:81/"?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Xampp MYSQL auf windows 2003

Postby skaiser » 28. April 2009 11:14

bei meine Versuchen auf " localhost:81" zu connecten wurde mir immer vom Browser angezeigt, dass die Seite ncith angezeit werden kann.

Jedoch funktioniert jetzt alles, zu meiner Verwunderung tadellos.
skaiser
 
Posts: 9
Joined: 28. April 2009 09:06


Return to MariaDB - MySQL

Who is online

Users browsing this forum: No registered users and 13 guests