sono un po all abc .. sono riuscito a fermare il server. entrando nella cartella opt/lampp e dando sudo /opt/lampp/lampp start
la situazion e questa:
[root@vps373854 /]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 20G 13G 5.6G 71% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
/dev/vdb1 99G 944M 93G 1% /mnt/disk
[root@vps373854 /]#
vorrei spostare i db dal disco vda1 al disco vb1 e far in modo che gli ulteriori db creati o importati si savino sul disco secondario.
nel file my.cfn datadir non ce esiste solo socket,modifico solo quella e come faccio a capire che il percorso sta sull altro disco....
sotto ho copiato il file cosi come e adesso
# 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)
#
# You can copy this file to
# /etc/my.cnf to set global options,
# mysql-data-dir/my.cnf to set server-specific options (in this
# installation this directory is /opt/lampp/var/mysql) or
# ~/.my.cnf to set user-specific options.
#
# In this file, you can use all long options that a program supports.
# If you want to know which options a program supports, run the program
# with the "--help" option.
# The following options will be passed to all MySQL clients
[client]
#password = your_password
port = 3306
socket = /opt/lampp/var/mysql/mysql.sock
# Here follows entries for some specific programs
# The MySQL server
[mysqld]
user = mysql
port=3306
socket = /opt/lampp/var/mysql/mysql.sock
skip-external-locking
key_buffer = 16M
max_allowed_packet = 1M
table_open_cache = 64
sort_buffer_size = 512K
net_buffer_length = 8K
read_buffer_size = 256K
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 8M
# Where do all the plugins live
plugin_dir = /opt/lampp/lib/mysql/plugin/
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
# if all processes that need to connect to mysqld run on the same host.
# All interaction with mysqld must be made via Unix sockets or named pipes.
# Note that using this option without enabling named pipes on Windows
# (via the "enable-named-pipe" option) will render mysqld useless!
#
#skip-networking
# Replication Master Server (default)
# binary logging is required for replication
# log-bin deactivated by default since XAMPP 1.4.11
#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)
#
"my.cnf" 163L, 5075C