Da für ein zukünftiges Praktikum Typo3 Kenntnisse gefordert werden, wollte ich mich mit diversem Schulungsmaterial zu Hause in das CMS einarbeiten.
Also habe ich XAMPP 1.7.2a auf meinem Mac Book Pro (Intel) unter OS X 10.5.8 vom Admin-Konto aus installiert um Typo3 ausschließlich lokal zu nutzen. Apache startet ohne Probleme, jedoch lässt sich mySQL nicht starten. Wie in der Fehlermeldung erwähnt wurde, habe ich mir mal die Logs angeschaut, bin aber mangels Kenntnissen in diesem Bereich nicht wirklich schlauer daraus geworden.
1. Gescheiterter Versuch, mySQL über das XAMPP Control zu starten:
Log Datei: /Applications/XAMPP/xamppfiles/var/mysql/MacBook Pro.speedport.ip.err
(Warum wird eigentlich eine Datei mit dem Namen der URL meines Routers angelegt, wenn ich nur lokal zu arbeiten gedenke? - ich bin auf diesem Gebiet leider ein N00b)
- Code: Select all
100117 17:49:50 mysqld_safe Starting mysqld daemon with databases from /Applications/XAMPP/xamppfiles/var/mysql
100117 17:49:50 [Warning] option 'thread_stack': unsigned value 65536 adjusted to 131072
100117 17:49:50 [Warning] Setting lower_case_table_names=2 because file system for /Applications/XAMPP/xamppfiles/var/mysql/ is case insensitive
100117 17:49:50 [Note] Plugin 'FEDERATED' is disabled.
100117 17:49:50 InnoDB: Started; log sequence number 0 44233
/Applications/XAMPP/xamppfiles/sbin/mysqld: Too many arguments (first extra is 'Pro.speedport.ip.pid').
Use --verbose --help to get a list of available options
100117 17:49:50 [ERROR] Aborting
100117 17:49:50 InnoDB: Starting shutdown...
100117 17:49:51 InnoDB: Shutdown completed; log sequence number 0 44233
100117 17:49:51 [Warning] Forcing shutdown of 1 plugins
100117 17:49:51 [Note] /Applications/XAMPP/xamppfiles/sbin/mysqld: Shutdown complete
100117 17:49:51 mysqld_safe mysqld from pid file /Applications/XAMPP/xamppfiles/var/mysql/MacBook ended
2. Dann habe ich versucht XAMPP über die Kommandozeile zu starten und zwar im Ordner:
/Applications/XAMPP/xamppfiles/
mit dem Kommando:
sudo ./xampp start
Fehlermeldungen:
- Code: Select all
Starte XAMPP für Mac OS X 1.7.2a...
XAMPP: Starte Apache...ok.
XAMPP: Starte MySQL.../Applications/XAMPP/xamppfiles//share/xampp/xampplib: line 39: test: /Applications/XAMPP/xamppfiles//var/mysql/MacBook: binary operator expected
ok.
XAMPP: Starte ProFTPD.../Applications/XAMPP/xamppfiles//bin/mysql.server: line 162: test: /Applications/XAMPP/xamppfiles/var/mysql/MacBook: binary operator expected
/Applications/XAMPP/xamppfiles//bin/mysql.server: line 162: test: /Applications/XAMPP/xamppfiles/var/mysql/MacBook: binary operator expected
fehlgeschlagen.
Contents of "/Applications/XAMPP/xamppfiles//var/proftpd/start.err":
- warning: unable to determine IP address of 'MacBook_Pro.speedport.ip'
- error: no valid servers configured
- Fatal: error processing configuration file '/Applications/XAMPP/xamppfiles/etc/proftpd.conf'
MacBook Pro:xamppfiles Markus$ /Applications/XAMPP/xamppfiles//bin/mysql.server: line 162: test: /Applications/XAMPP/xamppfiles/var/mysql/MacBook: binary operator expected
/Applications/XAMPP/xamppfiles//bin/mysql.server: line 162: test: /Applications/XAMPP/xamppfiles/var/mysql/MacBook: binary operator expected
Und falls das hilfreichh sein sollte, noch der Inhalt von /Applications/XAMPP/etc/my.cnf, an welcher ich übrigens nichts geändert habe.
- 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
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
Kann mir da irgend jemand weiterhelfen?