Sziasztok!
Van egy nagy problemam! Ugy vettem at egy linux (debian-woody) szervert, melyen egesz eddig futott a mysql szerver. azonban egy ujra inditas utan mar nem indul.
A kovetkezo hibauzenetet kaptam:
server:/var/lib/mysql# /etc/init.d/mysql start
Starting MySQL database server: mysqld...failed.
server:/var/lib/mysql# /etc/init.d/mysql reload
Reloading MySQL database server: mysqld/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
Mi lehet a gond? teljesen hulye vagyok a mysql-hez.
Segitsetek!
Koszi
- 1651 megtekintés
Hozzászólások
elso korben nezd meg a logot.
itt van => grep -i log /etc/my.cnf
t
- A hozzászóláshoz be kell jelentkezni
Hat ebben ez szerelep a vegen:
060621 12:00:43 2544 Connect intra@localhost on
2544 Init DB plaza
2544 Query SELECT * FROM dnik
2544 Query INSERT INTO dnik^M
(munkaszam,munka)^M
VALUES^M
('GUA06093','CDO Schwarzwalder')
2544 Query SELECT * FROM dnik ORDER BY ssz DESC
2544 Quit
060621 12:07:03 2545 Connect intra@localhost on
2545 Init DB plaza
2545 Query SELECT * FROM dnik ORDER BY ssz DESC
060621 12:07:04 2545 Quit
060621 12:44:04 2546 Connect debian-sys-maint@localhost on
2546 Quit
2547 Connect debian-sys-maint@localhost on
2547 Query SHOW VARIABLES LIKE 'pid_file'
060621 12:44:05 2547 Shutdown
ha jol ertelmezem 12.44-kor volt tegnap az utolso uzenet a Shutdown
otlet?
- A hozzászóláshoz be kell jelentkezni
Ha mar sikerult belonod, hogy ujra menjen, szerintem kapcsold ki, hogy minden query-t logoljon a mysql, mert nagyon visszafogja a teljesitmenyt.
- A hozzászóláshoz be kell jelentkezni
Koszi!
csak vegre menne.
Otlet a hibara?
- A hozzászóláshoz be kell jelentkezni
Ahogy írja, nem találja a /var/run/mysqld/mysqld.sock fájlt (merthogy a mysqld nem hozza létre).
Nézd meg, hogy a my.cnf-ben mi van megadva a mysqld.sock fájl helyének, ehhez mérten létezik-e a könyvtárszerkezet, amelynek tartalma írható/olvasható a mysqld-t futtató felhasználó számára?
Jó lenne tudni, hogy fordítva volt-e a MySQL? Amennyire figyeltem, alapértelmezetten a /tmp/mysql.sock fájlt akarja létrehozni a futás "jelzésére", s ha esetleg csináltál egy frissítést/telepítést, talán magával hozott egy (a Debian csomagok frisseségéből adódóan) régebbi MySQL-t, amely szerint nem ugyanott vannak a /bin-ben lévő fájlok, mint a kézzel fordított verzióban (Ennek egyik folyománya lehet, hogy bát létezik egy /etc/my.cnf nevű konfig, de ugyanúgy van egy /etc/mysql/my.cnf konfig is, s a kézzel fordított MySQL my.cnf-ét használná a csomagból telepített MySQL. Kis gyakorlattal lehet ilyen hülye adatbázisrendszereket is összehozni ;-))
- A hozzászóláshoz be kell jelentkezni
Szia!
a sock file helye my.conf-ban a /var/run/mysql konyvtar, melyben jelenleg nincs semmi. A mysql konyvtar user tulajdonosa a mysql user a csoport a root. Hogy ez jo-e azt nem tudom. Szerinted? Irasi olvasasi jog van rajta.
Az /etc-ben nincs my.cnf file csak az /etc/mysql konyvtarban.
Egyebb otlet?
- A hozzászóláshoz be kell jelentkezni
a sock file helye my.conf-ban a /var/run/mysql konyvtar
ÁÁÁÁÁÁCSIIIIIIIII!!!!!
Asszem épp itt írtam az egyik fórumbejegyzésben, kb. 2 órát szívtunk a nem pontos elérési utakkal és fájlnevekkel!
Szóval pontosítsunk, mi van beírva:
- /var/run/mysqld/mysqld.sock?
- /var/run/mysql/mysqld.sock?
- esetleg valami más?
A könyvtár jogosultsági beállítása jó, a csomagból telepítettnek tudtommal ilyennek kell lennie, a kézzel fordítottnál az INSTALL fájl szóról szóra követésében is mysql a felhasználói és root a csoport jog.
- A hozzászóláshoz be kell jelentkezni
A my.cnf-ben /var/run/mysqld/mysqld.sock van.
Ez a konyvtar is van a fenti jogosultsaggal.
Es mi ez a localhost failed uzenet?
Reloading MySQL database server: mysqld/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
- A hozzászóláshoz be kell jelentkezni
Amugy a mysqlnek van egy error logja is. Azt keresd meg, es nezz bele abba is. Amit az elobb bemasoltal, az a query log volt.
- A hozzászóláshoz be kell jelentkezni
Szia!
Ez van a mysql.err fileba:
060621 15:02:32 mysqld started
/usr/sbin/mysqld: unrecognized option `--skip-external-locking'
/usr/sbin/mysqld Ver 3.23.49 for pc-linux-gnu on i686
Copyright (C) 2000 MySQL AB, by Monty and others
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license
Starts the MySQL server
Usage: /usr/sbin/mysqld [OPTIONS]
--ansi Use ANSI SQL syntax instead of MySQL syntax
-b, --basedir=path Path to installation directory. All paths are
usually resolved relative to this
--big-tables Allow big result sets by saving all temporary sets
on file (Solves most 'table full' errors)
--bind-address=IP Ip address to bind to
--bootstrap Used by mysql installation scripts
--character-sets-dir=...
Directory where character sets are
--chroot=path Chroot mysqld daemon during startup
--core-file Write core on errors
-h, --datadir=path Path to the database root
--default-character-set=charset
Set the default character set
--default-table-type=type
Set the default table type for tables
--delay-key-write-for-all-tables
Don't flush key buffers between writes for any MyISAM
table
--enable-locking Enable system locking
-T, --exit-info Used for debugging; Use at your own risk!
--flush Flush tables to disk between SQL commands
-?, --help Display this help and exit
--init-file=file Read SQL commands from this file at startup
-L, --language=... Client error messages in given language. May be
given as a full path
-l, --log[=file] Log connections and queries to file
--log-bin[=file] Log queries in new binary format (for replication)
--log-bin-index=file File that holds the names for last binary log files
--log-update[=file] Log updates to file.# where # is a unique number
if not given.
--log-isam[=file] Log all MyISAM changes to file
--log-long-format Log some extra information to update log
--low-priority-updates INSERT/DELETE/UPDATE has lower priority than selects
--log-slow-queries=[file]
Log slow queries to this log file. Defaults logging
to hostname-slow.log
--pid-file=path Pid file used by safe_mysqld
--myisam-recover[=option[,option...]] where options is one of DEAULT,
BACKUP or FORCE.
--memlock Lock mysqld in memory
-n, --new Use very new possible 'unsafe' functions
-o, --old-protocol Use the old (3.20) protocol
-P, --port=... Port number to use for connection
-O, --set-variable var=option
Give a variable an value. --help lists variables
-Sg, --skip-grant-tables
Start without grant tables. This gives all users
FULL ACCESS to all tables!
--safe-mode Skip some optimize stages (for testing)
--safe-show-database Don't show databases for which the user has no
privileges
--safe-user-create Don't new users cretaion without privileges to the
mysql.user table
--skip-concurrent-insert
Don't use concurrent insert with MyISAM
--skip-delay-key-write
Ignore the delay_key_write option for all tables
--skip-host-cache Don't cache host names
--skip-locking Don't use system locking. To use isamchk one has
to shut down the server.
--skip-name-resolve Don't resolve hostnames.
All hostnames are IP's or 'localhost'
--skip-networking Don't allow connection with TCP/IP.
--skip-new Don't use new, possible wrong routines.
--skip-stack-trace Don't print a stack trace on failure
--skip-show-database Don't allow 'SHOW DATABASE' commands
--skip-thread-priority
Don't give threads different priorities.
--socket=... Socket file to use for connection
-t, --tmpdir=path Path for temporary files
--sql-mode=option[,option[,option...]] where option can be one of:
REAL_AS_FLOAT, PIPES_AS_CONCAT, ANSI_QUOTES,
IGNORE_SPACE, SERIALIZE, ONLY_FULL_GROUP_BY.
--transaction-isolation
Default transaction isolation level
--temp-pool Use a pool of temporary files
-u, --user=user_name Run mysqld daemon as user
-V, --version output version information and exit
-W, --warnings Log some not critical warnings to the log file
--bdb-home= directory Berkeley home direcory
--bdb-lock-detect=# Berkeley lock detect
(DEFAULT, OLDEST, RANDOM or YOUNGEST, # sec)
--bdb-logdir=directory Berkeley DB log file directory
--bdb-no-sync Don't synchronously flush logs
--bdb-no-recover Don't try to recover Berkeley DB tables on start
--bdb-shared-data Start Berkeley DB in multi-process mode
--bdb-tmpdir=directory Berkeley DB tempfile name
--skip-bdb Don't use berkeley db (will save memory)
--innodb_data_home_dir=dir The common part for Innodb table spaces
--innodb_data_file_path=dir Path to individual files and their sizes
--innodb_flush_method=# With which method to flush data
--innodb_flush_log_at_trx_commit[=#]
Set to 0 if you don't want to flush logs
--innodb_log_arch_dir=dir Where full logs should be archived
--innodb_log_archive[=#] Set to 1 if you want to have logs archived
--innodb_log_group_home_dir=dir Path to innodb log files.
--skip-innodb Don't use Innodb (will save memory)
Default options are read from the following files in the given order:
/etc/mysql/my.cnf /var/lib/mysql/my.cnf ~/.my.cnf
The following groups are read: mysqld server
The following options may be given as the first argument:
--print-defaults Print the program argument list and exit
--no-defaults Don't read default options from any options file
--defaults-file=# Only read default options from the given file #
--defaults-extra-file=# Read this file after the global files are read
To see what values a running MySQL server is using, type
'mysqladmin variables' instead of 'mysqld --help'.
The default values (after parsing the command line arguments) are:
basedir: /usr/
datadir: /var/lib/mysql/
tmpdir: /tmp/
language: /usr/share/mysql/english/
pid file: /var/run/mysqld/mysqld.pid
TCP port: 3306
Unix socket: /var/run/mysqld/mysqld.sock
system locking is not in use
Possible variables for option --set-variable (-O) are:
back_log current value: 50
bdb_cache_size current value: 8388600
bdb_log_buffer_size current value: 0
bdb_max_lock current value: 10000
bdb_lock_max current value: 10000
binlog_cache_size current value: 32768
connect_timeout current value: 5
delayed_insert_timeout current value: 300
delayed_insert_limit current value: 100
delayed_queue_size current value: 1000
flush_time current value: 0
innodb_mirrored_log_groups current value: 1
innodb_log_files_in_group current value: 2
innodb_log_file_size current value: 5242880
innodb_log_buffer_size current value: 1048576
innodb_buffer_pool_size current value: 8388608
innodb_additional_mem_pool_size current value: 1048576
innodb_file_io_threads current value: 4
innodb_lock_wait_timeout current value: 50
innodb_thread_concurrency current value: 8
innodb_force_recovery current value: 0
interactive_timeout current value: 28800
join_buffer_size current value: 131072
key_buffer_size current value: 8388600
long_query_time current value: 10
lower_case_table_names current value: 0
max_allowed_packet current value: 1048576
max_binlog_cache_size current value: 4294967295
max_binlog_size current value: 1073741824
max_connections current value: 100
max_connect_errors current value: 10
max_delayed_threads current value: 20
max_heap_table_size current value: 16777216
max_join_size current value: 4294967295
max_sort_length current value: 1024
max_tmp_tables current value: 32
max_user_connections current value: 0
max_write_lock_count current value: 4294967295
myisam_max_extra_sort_file_size current value: 256
myisam_max_sort_file_size current value: 2047
myisam_sort_buffer_size current value: 8388608
net_buffer_length current value: 16384
net_retry_count current value: 10
net_read_timeout current value: 30
net_write_timeout current value: 60
open_files_limit current value: 0
query_buffer_size current value: 0
record_buffer current value: 131072
record_rnd_buffer current value: 0
slave_net_timeout current value: 3600
slow_launch_time current value: 2
sort_buffer current value: 2097144
table_cache current value: 64
thread_concurrency current value: 10
thread_cache_size current value: 0
tmp_table_size current value: 33554432
thread_stack current value: 65536
wait_timeout current value: 28800
060621 15:02:32 mysqld ended
- A hozzászóláshoz be kell jelentkezni
Nekem ez ugy tunik, mintha egy 4.0as init file-lal probalna 3-as mysqlt inditani. Legalabbis mas magyarazatot most nem latok arra, hogy miert akar olyan parametert megadni a mysqld-nek, amit az nem ismer.
- A hozzászóláshoz be kell jelentkezni
Bocsi, hogy ennyire akadekos vagyok, de akkor mit tudok most tenni?
Es mitol lett ez?
Hogyan javithato ez?
- A hozzászóláshoz be kell jelentkezni
Vedd ki a --skip-external-locking opciót és indítsd így.
Ha minden úgy megy, ahogy azt szeretnénk, el fog indulni a szerver.
Rögtön utána szerintem keress rá a gépen a "mysql" névre, mert ha Onyx tippje igaz lehet, hogy van egy csomagból telepített 3.23-as MySQL-ed és egy fordított 4.x-es MySQL-ed a gépen.
Továbbá nézd meg, hogy az /etc/init.d könyvtárban nincs-e esetleg egy "mysql_server.sh" (vagy hasonló nevű) scripted a "mysql" mellett?
- A hozzászóláshoz be kell jelentkezni
próbáld nem /etc/init.d/mysql start-tal indítani, mert valahonna ismeretlen indytási parancssori paramétert kap...
- A hozzászóláshoz be kell jelentkezni
Ugy inditottam!
- A hozzászóláshoz be kell jelentkezni
Ehh, tévedtem, ide írtam: http://www.prog.hu/tudastar/48912/Mysql-mysqld+sock+problema.html
Es mi ez a localhost failed uzenet?
Reloading MySQL database server: mysqld/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
Nem tud csatlakozni a mysqld-hez (egészen pontosan nem fut a /etc/init.d/mysql start hatására elinduló mysqld_safe nevű program). A mysqld_safe program a sikeres elindulása örömére létrehozza a megadott helyen a mysqld.sock nevű fájlt, a kliensek (esetünkben a mysqladmin) pedig ezen sock fájl alapján tudják, hogy melyik csatolón/szálon tudnak kapcsolatba lépni a szerverrel. (Ez az ún. unix socket, ha esetleg találkoztál vele. Nagyon elnagyolva a működése hasonló a 3306-os TCP porthoz, amikor másik számítógépről a 3306-os portra kell csatlakozni a MySQL-lel történő kommunikációhoz. A unix socket lényege ugyanez, de nem másik számítógépről történik a csatlakozás hálózaton keresztül, hanem ugyanarról a gépről.)
Próbáld meg a következőt:
- megkeresed a mysqld_safe pontos helyét;
- majd onnan kézzel indítod a "bin/mysqld_safe --user=mysql" parancs segítségével.
Mivel nincs a végén az & jelzés, nem rakja háttérbe és minden szöveget megkapsz a konzolra.
- A hozzászóláshoz be kell jelentkezni
nem talalom a mysqld_safe-t.
Pontosaban lehet, hogy rosszul keresem.
Hogyan talalhato meg legegyszerubben?
- A hozzászóláshoz be kell jelentkezni
whereis mysqld_safe
Vagy ha nem akarsz pötyögni, a Midnight Commanderben létezik egy "Find File" (Esc + ? a gyorsbillentyű) opció, keresd azzal a /-ből indulva (ki tudja, hová lett fordítva/telepítve az elődöd által).
- A hozzászóláshoz be kell jelentkezni
Ezt kaptam:
server:/var/run# whereis mysqld_safe
mysqld_safe:
server:/var/run#
- A hozzászóláshoz be kell jelentkezni
Ühüm, akkor nincs ilyen a gépeden.
A hiba az enyém, a 4.0 előtt nem mysqld_safe hanem safe_mysqld a fájl neve.
Ami biztos van minden MySQL-ben, az a mysqladmin. Ha erre rákeresel a fenti paranccsal, megkapod a safe_mysqld vagy mysqld_safe (aminek éppen lennie kellene a gépen) pontos helyét, mivel ugyanabban a 'bin' könyvtárban vannak.
- A hozzászóláshoz be kell jelentkezni
Kiadtam a parancsot. Ezt kaptam>
server:/usr/bin# safe_mysqld --user=mysql
Starting mysqld daemon with databases from /var/lib/mysql
060622 13:56:40 mysqld ended
- A hozzászóláshoz be kell jelentkezni
Most nezd meg megint az error logot, oda irja a hibakat.
- A hozzászóláshoz be kell jelentkezni
Hat ez nekem sajnos nem mond semmit:
Neketek??
060622 14:05:14 mysqld started
/usr/sbin/mysqld: unrecognized option `--skip-external-locking'
/usr/sbin/mysqld Ver 3.23.49 for pc-linux-gnu on i686
Copyright (C) 2000 MySQL AB, by Monty and others
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license
Starts the MySQL server
Usage: /usr/sbin/mysqld [OPTIONS]
--ansi Use ANSI SQL syntax instead of MySQL syntax
-b, --basedir=path Path to installation directory. All paths are
usually resolved relative to this
--big-tables Allow big result sets by saving all temporary sets
on file (Solves most 'table full' errors)
--bind-address=IP Ip address to bind to
--bootstrap Used by mysql installation scripts
--character-sets-dir=...
Directory where character sets are
--chroot=path Chroot mysqld daemon during startup
--core-file Write core on errors
-h, --datadir=path Path to the database root
--default-character-set=charset
Set the default character set
--default-table-type=type
Set the default table type for tables
--delay-key-write-for-all-tables
Don't flush key buffers between writes for any MyISAM
table
--enable-locking Enable system locking
-T, --exit-info Used for debugging; Use at your own risk!
--flush Flush tables to disk between SQL commands
-?, --help Display this help and exit
--init-file=file Read SQL commands from this file at startup
-L, --language=... Client error messages in given language. May be
given as a full path
-l, --log[=file] Log connections and queries to file
--log-bin[=file] Log queries in new binary format (for replication)
--log-bin-index=file File that holds the names for last binary log files
--log-update[=file] Log updates to file.# where # is a unique number
if not given.
--log-isam[=file] Log all MyISAM changes to file
--log-long-format Log some extra information to update log
--low-priority-updates INSERT/DELETE/UPDATE has lower priority than selects
--log-slow-queries=[file]
Log slow queries to this log file. Defaults logging
to hostname-slow.log
--pid-file=path Pid file used by safe_mysqld
--myisam-recover[=option[,option...]] where options is one of DEAULT,
BACKUP or FORCE.
--memlock Lock mysqld in memory
-n, --new Use very new possible 'unsafe' functions
-o, --old-protocol Use the old (3.20) protocol
-P, --port=... Port number to use for connection
-O, --set-variable var=option
Give a variable an value. --help lists variables
-Sg, --skip-grant-tables
Start without grant tables. This gives all users
FULL ACCESS to all tables!
--safe-mode Skip some optimize stages (for testing)
--safe-show-database Don't show databases for which the user has no
privileges
--safe-user-create Don't new users cretaion without privileges to the
mysql.user table
--skip-concurrent-insert
Don't use concurrent insert with MyISAM
--skip-delay-key-write
Ignore the delay_key_write option for all tables
--skip-host-cache Don't cache host names
--skip-locking Don't use system locking. To use isamchk one has
to shut down the server.
--skip-name-resolve Don't resolve hostnames.
All hostnames are IP's or 'localhost'
--skip-networking Don't allow connection with TCP/IP.
--skip-new Don't use new, possible wrong routines.
--skip-stack-trace Don't print a stack trace on failure
--skip-show-database Don't allow 'SHOW DATABASE' commands
--skip-thread-priority
Don't give threads different priorities.
--socket=... Socket file to use for connection
-t, --tmpdir=path Path for temporary files
--sql-mode=option[,option[,option...]] where option can be one of:
REAL_AS_FLOAT, PIPES_AS_CONCAT, ANSI_QUOTES,
IGNORE_SPACE, SERIALIZE, ONLY_FULL_GROUP_BY.
--transaction-isolation
Default transaction isolation level
--temp-pool Use a pool of temporary files
-u, --user=user_name Run mysqld daemon as user
-V, --version output version information and exit
-W, --warnings Log some not critical warnings to the log file
--bdb-home= directory Berkeley home direcory
--bdb-lock-detect=# Berkeley lock detect
(DEFAULT, OLDEST, RANDOM or YOUNGEST, # sec)
--bdb-logdir=directory Berkeley DB log file directory
--bdb-no-sync Don't synchronously flush logs
--bdb-no-recover Don't try to recover Berkeley DB tables on start
--bdb-shared-data Start Berkeley DB in multi-process mode
--bdb-tmpdir=directory Berkeley DB tempfile name
--skip-bdb Don't use berkeley db (will save memory)
--innodb_data_home_dir=dir The common part for Innodb table spaces
--innodb_data_file_path=dir Path to individual files and their sizes
--innodb_flush_method=# With which method to flush data
--innodb_flush_log_at_trx_commit[=#]
Set to 0 if you don't want to flush logs
--innodb_log_arch_dir=dir Where full logs should be archived
--innodb_log_archive[=#] Set to 1 if you want to have logs archived
--innodb_log_group_home_dir=dir Path to innodb log files.
--skip-innodb Don't use Innodb (will save memory)
Default options are read from the following files in the given order:
/etc/mysql/my.cnf /var/lib/mysql/my.cnf ~/.my.cnf
The following groups are read: mysqld server
The following options may be given as the first argument:
--print-defaults Print the program argument list and exit
--no-defaults Don't read default options from any options file
--defaults-file=# Only read default options from the given file #
--defaults-extra-file=# Read this file after the global files are read
To see what values a running MySQL server is using, type
'mysqladmin variables' instead of 'mysqld --help'.
The default values (after parsing the command line arguments) are:
basedir: /usr/
datadir: /var/lib/mysql/
tmpdir: /tmp/
language: /usr/share/mysql/english/
pid file: /var/run/mysqld/mysqld.pid
TCP port: 3306
Unix socket: /var/run/mysqld/mysqld.sock
system locking is not in use
Possible variables for option --set-variable (-O) are:
back_log current value: 50
bdb_cache_size current value: 8388600
bdb_log_buffer_size current value: 0
bdb_max_lock current value: 10000
bdb_lock_max current value: 10000
binlog_cache_size current value: 32768
connect_timeout current value: 5
delayed_insert_timeout current value: 300
delayed_insert_limit current value: 100
delayed_queue_size current value: 1000
flush_time current value: 0
innodb_mirrored_log_groups current value: 1
innodb_log_files_in_group current value: 2
innodb_log_file_size current value: 5242880
innodb_log_buffer_size current value: 1048576
innodb_buffer_pool_size current value: 8388608
innodb_additional_mem_pool_size current value: 1048576
innodb_file_io_threads current value: 4
innodb_lock_wait_timeout current value: 50
innodb_thread_concurrency current value: 8
innodb_force_recovery current value: 0
interactive_timeout current value: 28800
join_buffer_size current value: 131072
key_buffer_size current value: 8388600
long_query_time current value: 10
lower_case_table_names current value: 0
max_allowed_packet current value: 1048576
max_binlog_cache_size current value: 4294967295
max_binlog_size current value: 1073741824
max_connections current value: 100
max_connect_errors current value: 10
max_delayed_threads current value: 20
max_heap_table_size current value: 16777216
max_join_size current value: 4294967295
max_sort_length current value: 1024
max_tmp_tables current value: 32
max_user_connections current value: 0
max_write_lock_count current value: 4294967295
myisam_max_extra_sort_file_size current value: 256
myisam_max_sort_file_size current value: 2047
myisam_sort_buffer_size current value: 8388608
net_buffer_length current value: 16384
net_retry_count current value: 10
net_read_timeout current value: 30
net_write_timeout current value: 60
open_files_limit current value: 0
query_buffer_size current value: 0
record_buffer current value: 131072
record_rnd_buffer current value: 0
slave_net_timeout current value: 3600
slow_launch_time current value: 2
sort_buffer current value: 2097144
table_cache current value: 64
thread_concurrency current value: 10
thread_cache_size current value: 0
tmp_table_size current value: 33554432
thread_stack current value: 65536
wait_timeout current value: 28800
060622 14:05:14 mysqld ended
- A hozzászóláshoz be kell jelentkezni
Ugy latszik, hogy hiaba kezzel inditod, megis a my.cnfbol szedi a parametereit. Szerkeszd meg a /etc/my.cnf vagy /etc/mysql.cnf file-t (ha mind2 van, akkor lehet, hogy az a gond), es kommentezd ki a
skip-external-locking
sort, es proba ujra, majd ha nem megy, ujra nezd az error logot.
- A hozzászóláshoz be kell jelentkezni
KOSZONOM MINDENKINEK!
Nehany sor kikommentezese vegre elindult, mukszik minden.
Halam orokre uldozni fog titeket.
- A hozzászóláshoz be kell jelentkezni
szivesen, de ez csak workaround, az alapproblemara nem derult feny, hogy megis miert ment eddig, es most miert nem.
- A hozzászóláshoz be kell jelentkezni
Igyekszem megtanulni a mysql-t ezekutan es fenyt deriteni a dolgokra.
Koszi
- A hozzászóláshoz be kell jelentkezni
Dehogynem ;-)
060622 14:05:14 mysqld started
/usr/sbin/mysqld: unrecognized option `--skip-external-locking'
/usr/sbin/mysqld Ver 3.23.49 for pc-linux-gnu on i686
Magyarul elindult a mysqld, van egy számára értelmezhetetlne indítási paramétere (ami miatt később leáll) és a 3.23.49-es MySQL szerverrel küzdesz éppen az úr 2006. évének 06. hónapjában található 22. napon, a gép helyi ideje szerint 14:05-kor :-D
- A hozzászóláshoz be kell jelentkezni