• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Help - Cant Start MYSQL Service

DanH

New Pleskian
Perhaps you guys will laugh at this, I thought I knew what I was doing.

Basically I wanted to add ft_min_word_len=3 to the /etc/my.cnf file.

I changed it , typed in mysqld - restart

The service restarted, however when checking the config settings, nothing had changed.

I screwed with this one or 2 times, modifying the syntax slighly, however nothing worked.

I Then decided I was changing the wrong my.cnf file and reverted to a backup of the original file and saved it over the file I had been modifying.

When I try to start the service I get the following error message :

Number of processes running now: 0
090818 17:56:32 mysqld restarted
/usr/libexec/mysqld: Too many arguments (first extra is 'ft_min_word_len=3').
Use --help to get a list of available options

I've checked and re-checked the my.cnf file, it definitely does not contain ft_min_word_length option. For the record, here is the my.cnf file.

[mysqld]
set-variable=local-infile=0
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid


What am I doing wrong? I am unable to log into the Plesk panel until this is fixed. Please help.

Regards
Dan
 
Hello,

Here is the configuration file from our test server. Probably this will help you:

===

# less /etc/my.cn
---
[mysqld]
set-variable=local-infile=0
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1

skip-bdb

set-variable = innodb_buffer_pool_size=2M
set-variable = innodb_additional_mem_pool_size=500K
set-variable = innodb_log_buffer_size=500K
set-variable = innodb_thread_concurrency=2
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
skip-bdb

set-variable = innodb_buffer_pool_size=2M
set-variable = innodb_additional_mem_pool_size=500K
set-variable = innodb_log_buffer_size=500K
set-variable = innodb_thread_concurrency=2

===
 
Figured it out. Problem was that I edited the my.cnf in a windows based text editor. Somehow, the file was converted to a different format to its original. When viewing in windows, the file did not show the ft_min_word_length line. However when I edited the file from the command prompt using #vi /etc/my.cnf - the line was there in plain sight. All I needed to do was delete it - MYSQL started fine afterwards.

Strange this, as I originally put the line into the my.cnf file from a windows text editor.
 
Back
Top