12. december 2001 - 12:38Der er
4 kommentarer og 1 løsning
Min Mysql vil ikke starte
Min mysql vil ikke starte. Jeg haft det kørende på en pc med Windows 2000 pro.
Og har installeret den på en anden.
Det virker ikke. Den starter ikke automatisk op.
Hvis jeg i komando promten skriver:
mysqld-max --standalone
Skriver den:
Cannot initialize InnoDB as \'innodb_data_file_path\' is not set. If you do not want to use transactional InnoDB tables, add a line skip-innodb to the [mysqld] section of init parameters in your my.cnf or my.ini. If you want to use InnoDB tables, add for example, innodb_data_file_path = /mysql/data/ibdata1:20M. More information on setting the parameters you find in the manual.
Please help me.
Hjælp mig hurtigt, jeg vil super gerne have det til at virke.
Dog undrer de nederste links mig, men mysql kører fint.
# Example mysql config file. # Copy this file to c:\\my.cnf to set global options # # One can use all long options that the program supports. # Run the program with --help to get a list of available options
# 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
# Uncomment the following row if you move the MySQL distribution to another # location basedir = d:/mysql/
Jeg har lige installeret MySQL på min win2000 PRO, den virker med det samme efter jeg har oprettet mit brugernavn samt password og derefter genstartet MySQL.
Du skal anføre konfigurationen for innodb i din my.cnf fil, som skal findes i roden på f.eks. c-drevet. Dvs. du kan f.eks. tilføje linjen: skip-innodb
eller du kan angive konfigurationen, så den opretter en innodb database. Min my.cnf fil ser således ud: basedir=c:/mysql datadir=c:/mysql/data innodb_data_file_path = ibdata1:100M;ibdata2:100M 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 #.._arch_dir must be the same as .._log_group_home_dir innodb_log_arch_dir = c:\\iblogs innodb_log_archive=0 set-variable = innodb_buffer_pool_size=10M set-variable = innodb_additional_mem_pool_size=10M set-variable = innodb_file_io_threads=4 set-variable = innodb_lock_wait_timeout=50
(se mere på mysql.com/documentation afsnit 7.5.2) Håber det hjalp.
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.