6
|
Linux секция за начинаещи / Настройка на програми / Стартиране на mysql
|
-: Jun 14, 2007, 08:52
|
В същност,ето го целия файл: # Example MySQL config file for medium systems. # # This is for a system with little memory (32M - 64M) where MySQL plays # an important part, or systems up to 128M where MySQL is used together with # other programs (such as a web server)
# The following options will be passed to all MySQL clients [client] #password = your_password port = 3306 socket = /var/run/mysqld/mysqld.sock
# Here follows entries for some specific programs
# The MySQL server [mysqld] port = 3306 socket = /var/run/mysqld/mysqld.sock skip-locking key_buffer = 16M max_allowed_packet = 1M table_cache = 64 sort_buffer_size = 512K net_buffer_length = 8K read_buffer_size = 256K read_rnd_buffer_size = 512K myisam_sort_buffer_size = 8M
################################################################### # vdd user = root
default-storage-engine=MYISAM
skip-bdb skip-innodb
datadir = /var/lib/mysql log = /var/log/mysql/mysql.log log-error = /var/log/mysql/error.log log-slow-queries = /var/log/mysql/slow-queries.log ###################################################################
# Replication Master Server (default) # binary logging is required for replication # log-bin=mysql-bin
# required unique id between 1 and 2^32 - 1 # defaults to 1 if master-host is not set # but will not function as a master if omitted server-id = 1
# Replication Slave (comment out master section to use this) #
[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 = 20M sort_buffer_size = 20M read_buffer = 2M write_buffer = 2M
[myisamchk] key_buffer = 20M sort_buffer_size = 20M read_buffer = 2M write_buffer = 2M
[mysqlhotcopy] interactive-timeout
|
|
|
11
|
Linux секция за начинаещи / Настройка на програми / Стартиране на mysql
|
-: Jun 13, 2007, 17:08
|
Отново Мерси!Изпълних и двата по-горни съвета и сървърът се стартира.Сега остана да ми заработи и програмата.Остава проблемът,че тези,кието ми я изпратиха,препоръчват да я инсталирам и пусна под Slackware.Видях малко зор докато настроя въпросната дистрибуция,но дано тръгне и там.
|
|
|
14
|
Linux секция за начинаещи / Настройка на програми / Стартиране на mysql
|
-: Jun 12, 2007, 17:26
|
Работа с Fedora C6.Имам медицинска програма,за която е необходимо да пусна MySQL-сървър.Но ето какво ми се получава: [root@localhost dit]# mysql start ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) Не съм достатъчно вещ,за да бъркам много ,но и не знъм как да се справя.Моля за помощ!Благодаря предварително!
|
|
|
|