Zum Inhalt springen

connection to the database failed. Keine verbindung zu mysql

Erstellt am 8. Januar 2004 · 2 Antworten · letzte Antwort am 14. Januar 2004

Tags: Datenbank, Frage

teddy ·

Ich habe unter windows 2000 den wamp istaller installiert. Mysql zeigt mir jetzt immer eine rote ampel?
beim anmelden am localhost erscheint die meldung:

Warning: Can't connect to MySQL server on 'localhost' (10061) in c:apachehtdocsquickstart ypo3 3libclass.t3lib_install.php on line 3374

Warning: MySQL Connection Failed: Can't connect to MySQL server on 'localhost' (10061) in c:apachehtdocsquickstart ypo3 3libclass.t3lib_install.php on line 3374

Warning: MySQL: A link to the server could not be established in c:apachehtdocsquickstart ypo3 3libclass.t3lib_install.php on line 3374

Diese Fehlermeldung erscheint auch schon bevor ich einen benutzernamen oder ein passwort eingegeben habe.

Viele Dank im voraus
turboteddi

tmallee ·

Dein mySQL Server läuft nicht. Sieh Dir die Fehlerhinweise im Administrationstool des DB Servers an (zu erreichen üper die Ampel in der Dienstleiste). Kann z.B. sein, dass simplerweise die configdatei für mysql nicht gefunden wurde.

Gruss

Thomas

teddy ·

danke, habe folgendes zu meinem .ini setup hinzugefügt.
jetzt läufts

# This will be passed to all mysql clients
[client]
#password=my_password
port=3306
#socket=MySQL

# Here is entries for some specific programs
# The following values assume you have at least 32M ram

# The MySQL server
[mysqld]
port=3306
#socket=MySQL
skip-locking
default-character-set=latin1
set-variable = key_buffer=16M
set-variable = max_allowed_packet=1M
set-variable = thread_stack=128K
set-variable = flush_time=1800
skip-innodb

# Uncomment the following rows if you move the MySQL distribution to another
# location
basedir = c:/apache/mysql/
datadir = c:/apache/mysql/data/

# Uncomment the following rows if you are using InnoDB tables
# Create the directories ibdata and iblogs before to start the server.
# If necessary, modify the size of the files

#innodb_data_file_path = ibdata1:200M
#innodb_data_home_dir = c:ibdata
#set-variable = innodb_mirrored_log_groups=1
#innodb_log_group_home_dir = c:iblogs
#set-variable = innodb_log_files_in_group=3
#set-variable = innodb_log_file_size=30M
#set-variable = innodb_log_buffer_size=8M
#innodb_flush_log_at_trx_commit=1
#innodb_log_arch_dir = c:iblogs
#innodb_log_archive=0
#set-variable = innodb_buffer_pool_size=80M
#set-variable=lower_case_table_names =0
#set-variable = innodb_additional_mem_pool_size=10M
#set-variable = innodb_file_io_threads=4
#set-variable = innodb_lock_wait_timeout=50

# Uncomment the following row if you are using a Max server and you don't want the
# InnoDb tables

#skip-innodb

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

[mysql]
no-auto-rehash

[isamchk]
set-variable= key=16M

[client_fltk]
help_file= c:mysqlsql_clientMySQL.help
client_file= c:mysqlMySQL.options
history_length=20
database = test
queries_root= c:mysqlqueries
last_database_file= c:mysqllastdb