MY SQL startet nicht

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

MY SQL startet nicht

Postby Scotch » 04. January 2010 13:39

Hallo, und ein frohes und gesundes neues Jahr an alle.
Ich habe auf dem 10.5.8 OS das XAMPP für Mac OS X 1.7.2a installiert und bekomme MYSQL nicht zum laufen.
Beim starten bekomme ich die Meldung, dass ich in das MySQL Logfile schauen soll aber ich finde kein Logfile.
Da ich das ganze halbwegs Portabel nutze, habe ich mein htdocs und die SQL DB auf einem USB Stick,
dort ist auch eine Portabel Version für Windows drauf um es auf meinem Notebook zu nutzen.
Der Webserver funktioniert auch ohne Prob nur MySQL will nicht.
Ich habe die Config soweit angepasst wie bei mir zu hause (da läuft alles, auch vom USB Stick).
In der Config habe ich datadir und Pidfile dementsprechend angepasst.
Der einzige Unterschied zwischen dem Mac auf der Arbeit und dem zu hause sind,
z. H. bin ich als localer User angemeldet und auf der Arbeit als Netzwerkuser.
Anbei mal meine config.
Code: Select all
# Example MySQL config file for small systems.
#
# This is for a system with little memory (<= 64M) where MySQL is only used
# from time to time and it's important that the mysqld daemon
# doesn't use much resources.
#
# You can copy this file to
# /etc/my.cnf to set global options,
# mysql-data-dir/my.cnf to set server-specific options (in this
# installation this directory is /Applications/xampp/xamppfiles/var/mysql) or
# ~/.my.cnf to set user-specific options.
#
# In this file, you can use all long options that a program supports.
# If you want to know which options a program supports, run the program
# with the "--help" option.

# The following options will be passed to all MySQL clients
[client]
#password   = your_password
port      = 3306
socket      = /Applications/XAMPP/xamppfiles/var/mysql/mysql.sock

# Here follows entries for some specific programs

# The MySQL server
[mysqld]
port      = 3306
socket      = /Applications/XAMPP/xamppfiles/var/mysql/mysql.sock
# Bei datadir muss der Pfad zum Verzeichnis der MySQL Datenbank (auf dem Externen Medium) angegeben werden.
# Dies ist aber NUR dann nötig wenn dort auch die Daten liegen ;-) (nicht bei der Standartinstallation)
datadir         = /Volumes/STORE_N_GO/Personal_Data/webserver/xampp/mysql/data
# user.xxx.yyy.zzz sind nur Platzhalter für den hostnamen mit der Domain.
pid-file        = /Applications/XAMPP/xamppfiles/var/mysql/user.xxx.yyy.zzz.pid

skip-locking
key_buffer = 16K
max_allowed_packet = 1M
table_cache = 4
sort_buffer_size = 64K
read_buffer_size = 256K
read_rnd_buffer_size = 256K
net_buffer_length = 2K
thread_stack = 64K
tmpdir = /Applications/XAMPP/xamppfiles/temp/

# Don't listen on a TCP/IP port at all. This can be a security enhancement,
# if all processes that need to connect to mysqld run on the same host.
# All interaction with mysqld must be made via Unix sockets or named pipes.
# Note that using this option without enabling named pipes on Windows
# (using the "enable-named-pipe" option) will render mysqld useless!
#
#skip-networking
server-id   = 1

# Uncomment the following if you want to log updates
#log-bin=mysql-bin

# Uncomment the following if you are NOT using BDB tables
#skip-bdb

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

[mysqldump]
quick
max_allowed_packet = 16M

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

[isamchk]
key_buffer = 8M
sort_buffer_size = 8M

[myisamchk]
key_buffer = 8M
sort_buffer_size = 8M

[mysqlhotcopy]
interactive-timeout


Gruß Scotch
Last edited by Scotch on 04. January 2010 14:35, edited 1 time in total.
Scotch
 
Posts: 11
Joined: 28. February 2009 18:23

Re: MY SQL startet nicht

Postby Scotch » 04. January 2010 14:27

So nach dem ich hier einen Anderem User (hoffe ich) geholfen habe, habe ich meinen Fehler gefunden.
In meiner Config war der Eintrag "Datadir" nicht richtig und somit konnte das pid File nicht angelegt werden. :oops:
Ich habe den Fehler in meinem vorherigen Postig korrigiert, vielleicht hilft es jemandem weiter. :idea:

Gruß Scotch
Scotch
 
Posts: 11
Joined: 28. February 2009 18:23


Return to XAMPP für macOS

Who is online

Users browsing this forum: No registered users and 8 guests