• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

server configuration

M

mark rooney

Guest
Hi all can any one help me out here I'm trying to edit the my.cnf file on my server and i get Permission denied even tho I'm logged in as root can any one tell me what I'm doing wrong??

this is exactly what i get

[root@s15364726 etc]# /etc/my.cnf
-bash: /etc/my.cnf: Permission denied
[root@s15364726 etc]#


Thanks Mark
 
think this is a question for he forum of your used operating system or a general linux question not a plesk question
 
I'm new to this so i don't know its the servers db config file I'm trying to edit and since my panel is plesk i thought it would be here i ask
 
thanks that worked can u tell me how i can adit that file i want to edit it to this

[client]
port = 3306
socket = /var/run/mysqld/mysqld.sock

[mysqld]
port = 3306
socket = /var/run/mysqld/mysqld.sock
skip-locking
skip-innodb
max_connections = 650
key_buffer = 64M
myisam_sort_buffer_size = 64M
join_buffer_size = 1M
read_buffer_size = 1M
sort_buffer_size = 2M
table_cache = 1500
thread_cache_size = 64
wait_timeout = 3600
connect_timeout = 10
tmp_table_size = 128M
read_rnd_buffer_size = 524288
bulk_insert_buffer_size = 8M
max_allowed_packet = 16M
max_connect_errors = 10
query_cache_limit = 2M
query_cache_size = 64M
query_cache_type = 1

[mysqld_safe]
open_files_limit = 8192

[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 = 256M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M

[myisamchk]
key_buffer = 256M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M

[mysqlhotcopy]
interactive-timeout
and after that how will i restart mysql server

Thanks Mark
 
Back
Top