Super!
Thank you for your posts

I did not know that the configuration was in my.cnf. But after reading your posts I was able to search for a lot more info on the forum. I have now added the extra settings the rigtht way (the custom template way).
BR. Anders
-----------------------------------
For anyone searching for this info, here is what should be the right solution. The exaples given for the template fragment are all settings I have been recommended for a dedicated webserver running several Typo3 CMS websites with fairly heavy load.
1) create a template fragment called something starting with 011:
/etc/e-smith/templates-custom/etc/my.cnf/011mysqlConfiguration
2) put your configuration into it (remove lines and edit values as suit your setup). Max_allowed_packets=16 is set as default, so no need to include that into your own template unless you want a different value:
skip-locking
concurrent_insert=1
key_buffer=56M
max_connections=300
max_connect_errors=2000000
wait_timeout=15
max_tmp_tables=200
query_cache_size=64M
query_cache_limit=10M
query_cache_type=1
read_buffer_size=8M
sort_buffer_size=8M
table_cache=1000
tmp_table_size=64M
thread_cache_size=200
<--- it must ends with a line break. Otherwise the expand-template will fail and your mysql may not work
3) expand template and restart mysql:
# /sbin/e-smith/expand-template /etc/my.cnf
# service mysqld restart
4) Check to see if you succeded by looking into /etc/my.cnf. All your entries from your template fragment should be visiable there by now.