MySQL als Dienst unter W2k

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

MySQL als Dienst unter W2k

Postby Cem » 18. October 2003 22:52

Ich habe D:\xampp-win32-1.0\xampp\mysql\my_example.cnf nach C:\ kopiert als my.cnf.

Dann habe ich D:\xampp-win32-1.0\xampp\mysql\mysql_installservice.bat gestartet.

DOS Fenster geht auf und da steht folgendes:

Installing MySQL as an Service
The service already exists!
The current server installed: D:\xampp-win32-1.0\xampp\mysql\bin\mysqld-nt
Creating an example config ...
1 file(s) copied.
Before we can run MySQL you must copy the my_example.cnf as c:\my.cnf
Press any key to continue . . .


Unter Diensten und dem Task Manager finde ich kein MySQL

Ich starte meinen Computer und MySQL läuft nicht an ?

Apache lies sich als Dienst ohne Probleme installieren.

Gruss
Cem
User avatar
Cem
 
Posts: 47
Joined: 11. October 2003 21:41

Postby Apache-User » 18. October 2003 23:16

hi Cem
schau mal in den ordner xampp\mysql\bin da ist eine my verknüpfung nimm mal die bitte dann sollte es gehn
mfg
D.A.U.™
User avatar
Apache-User
 
Posts: 594
Joined: 30. December 2002 16:50
Location: anonym

Postby Cem » 18. October 2003 23:21

Ich bin diesmal noch alle Apache Einträge im Register durchgegangen,
da ich ja keine MySQL hatte dachte ich vielleicht sind da noch andere
Apatschen im Spiel. So war das auch ! und nicht nur 1ser sondern auch noch alte 2er. ISt ja ein TestServer
Ich habe alte Apacheeinträge gelöscht und danach hat das alles geklappt.

Server gebootet und ohne das ich nochmal den MySQL service installieren musste lief ab wie Sahne.

Man kann nicht alles im Leben verstehen darum sollte
man ganz einfach sauber bleiben.


Danke Liebe Kollegen !!

Gruss aus der Nacht
Cem
User avatar
Cem
 
Posts: 47
Joined: 11. October 2003 21:41

Postby Cem » 18. October 2003 23:27

Das ist die die ich wie oben beschrieben kopiert habe.
Dies my.cnf Datei scheint grösser zu sein.

# The MySQL client
[client]
#password = your_password
port = 3306
socket =D:/xampp-win32-1.0/xampp/mysql/mysql.sock

# Here follows entries for some specific programs

# The MySQL server
[mysqld]
port = 3306
socket = D:/xampp-win32-1.0/xampp/mysql/mysql.sock
skip-locking
set-variable = key_buffer=16M
set-variable = max_allowed_packet=1M
set-variable = table_cache=64
set-variable = sort_buffer=512K
set-variable = net_buffer_length=8K
set-variable = myisam_sort_buffer_size=8M
log-bin
server-id = 1

basedir=D:/xampp-win32-1.0/xampp/mysql
tmpdir=D:/xampp-win32-1.0/xampp/tmp
datadir=D:/xampp-win32-1.0/xampp/mysql/data

#bind-address=192.168.1.1
#log-update = /path-to-dedicated-directory/hostname

# Uncomment the following if you are using BDB tables
#set-variable = bdb_cache_size=4M
#set-variable = bdb_max_lock=10000

skip-innodb
# Uncomment the following if you are using InnoDB tables
#innodb_data_home_dir = D:/xampp-win32-1.0/xampp/mysql/
#innodb_data_file_path = ibdata1:10M:autoextend
#innodb_log_group_home_dir = D:/xampp-win32-1.0/xampp/mysql/
#innodb_log_arch_dir = D:/xampp-win32-1.0/xampp/mysql/
# You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high
#set-variable = innodb_buffer_pool_size=16M
#set-variable = innodb_additional_mem_pool_size=2M
# Set .._log_file_size to 25 % of buffer pool size
#set-variable = innodb_log_file_size=5M
#set-variable = innodb_log_buffer_size=8M
#innodb_flush_log_at_trx_commit=1
#set-variable = innodb_lock_wait_timeout=50

[mysqldump]
quick
set-variable = max_allowed_packet=16M

[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates

[isamchk]
set-variable = key_buffer=20M
set-variable = sort_buffer=20M
set-variable = read_buffer=2M
set-variable = write_buffer=2M

[myisamchk]
set-variable = key_buffer=20M
set-variable = sort_buffer=20M
set-variable = read_buffer=2M
set-variable = write_buffer=2M

[mysqlhotcopy]
interactive-timeout

[WinMySQLadmin]
Server=D:/xampp-win32-1.0/xampp/mysql/bin/mysqld-nt.exe


Dies ist die Du meinst unter dem bin-verzeichnis:
[mysqld]
#skip-locking
#set-variable = key_buffer=16K
#set-variable = max_allowed_packet=1M
#set-variable = thread_stack=64K
#set-variable = table_cache=4
#set-variable = sort_buffer=64K
#set-variable = net_buffer_length=2K
#server-id = 1
basedir=D:/xampp-win32-1.0/xampp/mysql
#bind-address=192.168.1.1
datadir=D:/xampp-win32-1.0/xampp/mysql/data
tmpdir=D:/xampp-win32-1.0/xampp/tmp
#innodb_data_file_path=ibdata1:30M
#set-variable = innodb_buffer_pool_size=16M
#set-variable = innodb_additional_mem_pool_size=2M
#set-variable = innodb_file_io_threads=4
#set-variable = innodb_lock_wait_timeout=50
#language=D:/xampp-win32-1.0/xampp/mysql/share/your language directory
#slow query log#=
#tmpdir#=
#port=3306
#set-variable=key_buffer=16M

[WinMySQLadmin]
Server=D:/xampp-win32-1.0/xampp/mysql/bin/mysqld.exe


Ist da ein Unterschied wie z.B. langsam/schnell


Gruss
Cem
User avatar
Cem
 
Posts: 47
Joined: 11. October 2003 21:41


Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 15 guests