sargent240
asked on
Mysql connection
Trying to log into mysql and get the following error. Â Trying as user or root. Â Yast says mysqld is running.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock ' (2)
Thanks!
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock
Thanks!
If the MySQL server is on a different machine, you need to connect with a user that has permissions to use that connection. Â MySQL users are defined by username, password, and connection. Â http://dev.mysql.com/doc/refman/5.1/en/adding-users.html
ASKER
The server is on the machine I am using. Â Does the following tell us anything?
linux-6yw2:/home/al # ps -ef |grep -i mysql
al     3785  3783  0 13:01 ?     00:00:00 /usr/sbin/mysqld --defaults-file=/home/al/. local/shar e
root    9275  5892  0 14:11 pts/2   00:00:00 grep --color=auto -i mysql
linux-6yw2:/home/al # ps -ef |grep -i mysql
al     3785  3783  0 13:01 ?     00:00:00 /usr/sbin/mysqld --defaults-file=/home/al/.
root    9275  5892  0 14:11 pts/2   00:00:00 grep --color=auto -i mysql
You are running mysql as a user, you need to point your mysql client to use the same config file /home/al/.local/share/my.c nf
Do which mysql to see whether the client you are using the one you built/install or is one from the installed system which uses a different config file.
Do which mysql to see whether the client you are using the one you built/install or is one from the installed system which uses a different config file.
ASKER
I am not sure what happened because I have been using mysql on this machine for several months and all of a sudden this problem. Â What is the procedure for getting things pointed in the right direction again? Â Thanks arnold!
ASKER
arnold: Â When I did 'which mysql' this was the response:
al@linux-6yw2:~> which mysql
/usr/bin/mysql
al@linux-6yw2:~>
al@linux-6yw2:~> which mysql
/usr/bin/mysql
al@linux-6yw2:~>
run lsof -p 3785 and see where it created the socket.
Where is your my.cnf file ~/my.cnf?
Where is your my.cnf file ~/my.cnf?
ASKER
Boy here's a string of stuff!
al@linux-6yw2:~> lsof -p 3785
COMMAND Â PID USER Â FD Â TYPE Â Â DEVICE SIZE/OFF Â Â NODE NAME
mysqld  3785  al  cwd   DIR     8,7   4096 7340207 /home/al/.local/share/akon adi/db_dat a
mysqld  3785  al  rtd   DIR     8,6   4096    2 /
mysqld  3785  al  txt   REG     8,6 10042748 1057671 /usr/sbin/mysqld
mysqld  3785  al  mem   REG     8,6  1920983  920913 /lib/libc-2.1al@linux-6yw2 :~> lsof -p 3785
COMMAND Â PID USER Â FD Â TYPE Â Â DEVICE SIZE/OFF Â Â NODE NAME
mysqld  3785  al  cwd   DIR     8,7   4096 7340207 /home/al/.local/share/akon adi/db_dat a
mysqld  3785  al  rtd   DIR     8,6   4096    2 /
mysqld  3785  al  txt   REG     8,6 10042748 1057671 /usr/sbin/mysqld
mysqld  3785  al  mem   REG     8,6  1920983  920913 /lib/libc-2.15.so
mysqld  3785  al  mem   REG     8,6  116348  920837 /lib/libgcc_s.so.1
mysqld  3785  al  mem   REG     8,6  201625  920316 /lib/libm-2.15.so
mysqld  3785  al  mem   REG     8,6  938684  793691 /usr/lib/libstdc++.so.6.0. 17
mysqld  3785  al  mem   REG     8,6  1779904  920820 /lib/libcrypto.so.1.0.0
mysqld  3785  al  mem   REG     8,6  395376  920904 /lib/libssl.so.1.0.0
mysqld  3785  al  mem   REG     8,6   17364  920836 /lib/libdl-2.15.so
mysqld  3785  al  mem   REG     8,6   61173  920771 /lib/libcrypt-2.15.so
mysqld  3785  al  mem   REG     8,6  124731  920773 /lib/libpthread-2.15.so
mysqld  3785  al  mem   REG     8,6   38955  920491 /lib/librt-2.15.so
mysqld  3785  al  mem   REG     8,6   87544  920848 /lib/libz.so.1.2.7
mysqld  3785  al  mem   REG     8,6  152418  920851 /lib/ld-2.15.so
mysqld  3785  al   0r  FIFO     0,8    0t0  17597 pipe
mysqld  3785  al   1w  REG     8,7    701 7340148 /home/al/.local/share/akon adi/db_dat a/mysql.er r
mysqld  3785  al   2w  REG     8,7    701 7340148 /home/al/.local/share/akon adi/db_dat a/mysql.er r
mysqld  3785  al   3uW  REG     8,7 18874368 7340322 /home/al/.local/share/akon adi/db_dat a/ibdata1
mysqld  3785  al   4u  REG     8,6     0 1216639 /tmp/ib6y3h6b (deleted)
mysqld  3785  al   5u  REG     8,6     0 1220132 /tmp/ibzELXua (deleted)
mysqld  3785  al   6u  REG     8,6     0 1220133 /tmp/ibeORDT8 (deleted)
mysqld  3785  al   7u  REG     8,6     0 1220134 /tmp/ibpU7Lj7 (deleted)
mysqld  3785  al   8uW  REG     8,7 67108864 7340323 /home/al/.local/share/akon adi/db_dat a/ib_logfi le0
mysqld  3785  al   9uW  REG     8,7 67108864 7340324 /home/al/.local/share/akon adi/db_dat a/ib_logfi le1
mysqld  3785  al  10u  unix 0xf62e8b80    0t0  16668 /home/al/.local/share/akon adi/socket -linux-6yw 2/mysql.so cket
mysqld  3785  al  11u  REG     8,6     0 1220136 /tmp/ibrMRAv6 (deleted)
mysqld  3785  al  12u  REG     8,7   1024 7340229 /home/al/.local/share/akon adi/db_dat a/mysql/se rvers.MYI
mysqld  3785  al  13u  REG     8,7     0 7340230 /home/al/.local/share/akon adi/db_dat a/mysql/se rvers.MYD
mysqld  3785  al  14u  unix 0xf62e84c0    0t0  17732 /home/al/.local/share/akon adi/socket -linux-6yw 2/mysql.so cket
mysqld  3785  al  15u  unix 0xf62e8040    0t0  17733 /home/al/.local/share/akon adi/socket -linux-6yw 2/mysql.so cket
mysqld  3785  al  16uW  REG     8,7  131072 7340178 /home/al/.local/share/akon adi/db_dat a/akonadi/ collection attributet able.ibd
mysqld  3785  al  17uW  REG     8,7   98304 7340311 /home/al/.local/share/akon adi/db_dat a/akonadi/ collection mimetypere lation.ibd
mysqld  3785  al  18uW  REG     8,7   98304 7340345 /home/al/.local/share/akon adi/db_dat a/akonadi/ collection pimitemrel ation.ibd
mysqld  3785  al  19uW  REG     8,7  147456 7340334 /home/al/.local/share/akon adi/db_dat a/akonadi/ collection table.ibd
mysqld  3785  al  20uW  REG     8,7  114688 7340340 /home/al/.local/share/akon adi/db_dat a/akonadi/ flagtable. ibd
mysqld  3785  al  21uW  REG     8,7  114688 7340338 /home/al/.local/share/akon adi/db_dat a/akonadi/ mimetypeta ble.ibd
mysqld  3785  al  22uW  REG     8,7  131072 7340342 /home/al/.local/share/akon adi/db_dat a/akonadi/ parttable. ibd
mysqld  3785  al  23uW  REG     8,7   98304 7340309 /home/al/.local/share/akon adi/db_dat a/akonadi/ pimitemfla grelation. ibd
mysqld  3785  al  24uW  REG     8,7  147456 7340336 /home/al/.local/share/akon adi/db_dat a/akonadi/ pimitemtab le.ibd
mysqld  3785  al  25uW  REG     8,7  114688 7340332 /home/al/.local/share/akon adi/db_dat a/akonadi/ resourceta ble.ibd
mysqld  3785  al  26uW  REG     8,7   98304 7340330 /home/al/.local/share/akon adi/db_dat a/akonadi/ schemavers iontable.i bd
mysqld  3785  al  27u  REG     8,7   4096 7340235 /home/al/.local/share/akon adi/db_dat a/mysql/co lumns_priv .MYI
mysqld  3785  al  28u  REG     8,7     0 7340236 /home/al/.local/share/akon adi/db_dat a/mysql/co lumns_priv .MYD
mysqld  3785  al  29u  REG     8,7   5120 7340214 /home/al/.local/share/akon adi/db_dat a/mysql/db .MYI
mysqld  3785  al  30u  REG     8,7    880 7340215 /home/al/.local/share/akon adi/db_dat a/mysql/db .MYD
mysqld  3785  al  31u  REG     8,7   2048 7340281 /home/al/.local/share/akon adi/db_dat a/mysql/ev ent.MYI
mysqld  3785  al  32u  REG     8,7     0 7340282 /home/al/.local/share/akon adi/db_dat a/mysql/ev ent.MYD
mysqld  3785  al  33u  REG     8,7   1024 7340223 /home/al/.local/share/akon adi/db_dat a/mysql/fu nc.MYI
mysqld  3785  al  34u  REG     8,7     0 7340224 /home/al/.local/share/akon adi/db_dat a/mysql/fu nc.MYD
mysqld  3785  al  35u  REG     8,7    35 7340273 /home/al/.local/share/akon adi/db_dat a/mysql/ge neral_log. CSM
mysqld  3785  al  36r  REG     8,7     0 7340274 /home/al/.local/share/akon adi/db_dat a/mysql/ge neral_log. CSV
mysqld  3785  al  37u  REG     8,7   3072 7340241 /home/al/.local/share/akon adi/db_dat a/mysql/he lp_categor y.MYI
mysqld  3785  al  38u  REG     8,7   22659 7340242 /home/al/.local/share/akon adi/db_dat a/mysql/he lp_categor y.MYD
mysqld  3785  al  39u  REG     8,7   16384 7340249 /home/al/.local/share/akon adi/db_dat a/mysql/he lp_keyword .MYI
mysqld  3785  al  40u  REG     8,7   91408 7340250 /home/al/.local/share/akon adi/db_dat a/mysql/he lp_keyword .MYD
mysqld  3785  al  41u  REG     8,7   19456 7340244 /home/al/.local/share/akon adi/db_dat a/mysql/he lp_relatio n.MYI
mysqld  3785  al  42u  REG     8,7   9252 7340245 /home/al/.local/share/akon adi/db_dat a/mysql/he lp_relatio n.MYD
mysqld  3785  al  43u  REG     8,7   20480 7340238 /home/al/.local/share/akon adi/db_dat a/mysql/he lp_topic.M YI
mysqld  3785  al  44u  REG     8,7  446672 7340239 /home/al/.local/share/akon adi/db_dat a/mysql/he lp_topic.M YD
mysqld  3785  al  45u  REG     8,7   2048 7340217 /home/al/.local/share/akon adi/db_dat a/mysql/ho st.MYI
mysqld  3785  al  46u  REG     8,7     0 7340218 /home/al/.local/share/akon adi/db_dat a/mysql/ho st.MYD
mysqld  3785  al  47u  REG     8,7   1024 7340284 /home/al/.local/share/akon adi/db_dat a/mysql/nd b_binlog_i ndex.MYI
mysqld  3785  al  48u  REG     8,7     0 7340285 /home/al/.local/share/akon adi/db_dat a/mysql/nd b_binlog_i ndex.MYD
mysqld  3785  al  49u  REG     8,7   1024 7340226 /home/al/.local/share/akon adi/db_dat a/mysql/pl ugin.MYI
mysqld  3785  al  50u  REG     8,7     0 7340227 /home/al/.local/share/akon adi/db_dat a/mysql/pl ugin.MYD
mysqld  3785  al  51u  REG     8,7   2048 7340267 /home/al/.local/share/akon adi/db_dat a/mysql/pr oc.MYI
mysqld  3785  al  52u  REG     8,7     0 7340268 /home/al/.local/share/akon adi/db_dat a/mysql/pr oc.MYD
mysqld  3785  al  53u  REG     8,7   4096 7340270 /home/al/.local/share/akon adi/db_dat a/mysql/pr ocs_priv.M YI
mysqld  3785  al  54u  REG     8,7     0 7340271 /home/al/.local/share/akon adi/db_dat a/mysql/pr ocs_priv.M YD
mysqld  3785  al  55u  REG     8,7   5120 7340320 /home/al/.local/share/akon adi/db_dat a/mysql/pr oxies_priv .MYI
mysqld  3785  al  56u  REG     8,7   1386 7340321 /home/al/.local/share/akon adi/db_dat a/mysql/pr oxies_priv .MYD
mysqld  3785  al  57u  REG     8,7    35 7340276 /home/al/.local/share/akon adi/db_dat a/mysql/sl ow_log.CSM
mysqld  3785  al  58r  REG     8,7     0 7340277 /home/al/.local/share/akon adi/db_dat a/mysql/sl ow_log.CSV
mysqld  3785  al  59u  REG     8,7   4096 7340232 /home/al/.local/share/akon adi/db_dat a/mysql/ta bles_priv. MYI
mysqld  3785  al  60u  REG     8,7     0 7340233 /home/al/.local/share/akon adi/db_dat a/mysql/ta bles_priv. MYD
mysqld  3785  al  61u  REG     8,7   1024 7340255 /home/al/.local/share/akon adi/db_dat a/mysql/ti me_zone.MY I
mysqld  3785  al  62u  REG     8,7     0 7340256 /home/al/.local/share/akon adi/db_dat a/mysql/ti me_zone.MY D
mysqld  3785  al  63u  REG     8,7   1024 7340264 /home/al/.local/share/akon adi/db_dat a/mysql/ti me_zone_le ap_second. MYI
mysqld  3785  al  64u  REG     8,7     0 7340265 /home/al/.local/share/akon adi/db_dat a/mysql/ti me_zone_le ap_second. MYD
mysqld  3785  al  65u  REG     8,7   1024 7340252 /home/al/.local/share/akon adi/db_dat a/mysql/ti me_zone_na me.MYI
mysqld  3785  al  66u  REG     8,7     0 7340253 /home/al/.local/share/akon adi/db_dat a/mysql/ti me_zone_na me.MYD
mysqld  3785  al  67u  REG     8,7   1024 7340258 /home/al/.local/share/akon adi/db_dat a/mysql/ti me_zone_tr ansition.M YI
mysqld  3785  al  68u  REG     8,7     0 7340259 /home/al/.local/share/akon adi/db_dat a/mysql/ti me_zone_tr ansition.M YD
mysqld  3785  al  69u  REG     8,7   1024 7340261 /home/al/.local/share/akon adi/db_dat a/mysql/ti me_zone_tr ansition_t ype.MYI
mysqld  3785  al  70u  REG     8,7     0 7340262 /home/al/.local/share/akon adi/db_dat a/mysql/ti me_zone_tr ansition_t ype.MYD
mysqld  3785  al  71u  REG     8,7   2048 7340220 /home/al/.local/share/akon adi/db_dat a/mysql/us er.MYI
mysqld  3785  al  72u  REG     8,7    320 7340221 /home/al/.local/share/akon adi/db_dat a/mysql/us er.MYD
mysqld  3785  al  73u  unix 0xf0cab700    0t0  16680 /home/al/.local/share/akon adi/socket -linux-6yw 2/mysql.so cket
mysqld  3785  al  74u  unix 0xf0cab280    0t0  17740 /home/al/.local/share/akon adi/socket -linux-6yw 2/mysql.so cket
mysqld  3785  al  75u  unix 0xf08a7040    0t0  16721 /home/al/.local/share/akon adi/socket -linux-6yw 2/mysql.so cket
mysqld  3785  al  76u  unix 0xef503dc0    0t0  16745 /home/al/.local/share/akon adi/socket -linux-6yw 2/mysql.so cket
mysqld  3785  al  77u  unix 0xef503940    0t0  16747 /home/al/.local/share/akon adi/socket -linux-6yw 2/mysql.so cket
mysqld  3785  al  78u  unix 0xf62f3940    0t0  16751 /home/al/.local/share/akon adi/socket -linux-6yw 2/mysql.so cket
mysqld  3785  al  79u  unix 0xef5034c0    0t0  16753 /home/al/.local/share/akon adi/socket -linux-6yw 2/mysql.so cket
mysqld  3785  al  80u  unix 0xf62f34c0    0t0  17872 /home/al/.local/share/akon adi/socket -linux-6yw 2/mysql.so cket
mysqld  3785  al  81u  unix 0xef503040    0t0  17875 /home/al/.local/share/akon adi/socket -linux-6yw 2/mysql.so cket
mysqld  3785  al  82u  unix 0xf620ab80    0t0  17878 /home/al/.local/share/akon adi/socket -linux-6yw 2/mysql.so cket
mysqld  3785  al  83u  unix 0xef9aab80    0t0  17880 /home/al/.local/share/akon adi/socket -linux-6yw 2/mysql.so cket
al@linux-6yw2:~>
5.so
mysqld  3785  al  mem   REG     8,6  116348  920837 /lib/libgcc_s.so.1
mysqld  3785  al  mem   REG     8,6  201625  920316 /lib/libm-2.15.so
mysqld  3785  al  mem   REG     8,6  938684  793691 /usr/lib/libstdc++.so.6.0. 17
mysqld  3785  al  mem   REG     8,6  1779904  920820 /lib/libcrypto.so.1.0.0
mysqld  3785  al  mem   REG     8,6  395376  920904 /lib/libssl.so.1.0.0
mysqld  3785  al  mem   REG     8,6   17364  920836 /lib/libdl-2.15.so
mysqld  3785  al  mem   REG     8,6   61173  920771 /lib/libcrypt-2.15.so
mysqld  3785  al  mem   REG     8,6  124731  920773 /lib/libpthread-2.15.so
mysqld  3785  al  mem   REG     8,6   38955  920491 /lib/librt-2.15.so
mysqld  3785  al  mem   REG     8,6   87544  920848 /lib/libz.so.1.2.7
mysqld  3785  al  mem   REG     8,6  152418  920851 /lib/ld-2.15.so
mysqld  3785  al   0r  FIFO     0,8    0t0  17597 pipe
mysqld  3785  al   1w  REG     8,7    701 7340148 /home/al/.local/share/akon adi/db_dat a/mysql.er r
mysqld  3785  al   2w  REG     8,7    701 7340148 /home/al/.local/share/akon adi/db_dat a/mysql.er r
mysqld  3785  al   3uW  REG     8,7 18874368 7340322 /home/al/.local/share/akon adi/db_dat a/ibdata1
mysqld  3785  al   4u  REG     8,6     0 1216639 /tmp/ib6y3h6b (deleted)
mysqld  3785  al   5u  REG     8,6     0 1220132 /tmp/ibzELXua (deleted)
mysqld  3785  al   6u  REG     8,6     0 1220133 /tmp/ibeORDT8 (deleted)
mysqld  3785  al   7u  REG     8,6     0 1220134 /tmp/ibpU7Lj7 (deleted)
mysqld  3785  al   8uW  REG     8,7 67108864 7340323 /home/al/.local/share/akon adi/db_dat a/ib_logfi le0
mysqld  3785  al   9uW  REG     8,7 67108864 7340324 /home/al/.local/share/akon adi/db_dat a/ib_logfi le1
mysqld  3785  al  10u  unix 0xf62e8b80    0t0  16668 /home/al/.local/share/akon adi/socket -linux-6yw 2/mysql.so cket
mysqld  3785  al  11u  REG     8,6     0 1220136 /tmp/ibrMRAv6 (deleted)
mysqld  3785  al  12u  REG     8,7   1024 7340229 /home/al/.local/share/akon adi/db_dat a/mysql/se rvers.MYI
mysqld  3785  al  13u  REG     8,7     0 7340230 /home/al/.local/share/akon adi/db_dat a/mysql/se rvers.MYD
mysqld  3785  al  14u  unix 0xf62e84c0    0t0  17732 /home/al/.local/share/akon adi/socket -linux-6yw 2/mysql.so cket
mysqld  3785  al  15u  unix 0xf62e8040    0t0  17733 /home/al/.local/share/akon adi/socket -linux-6yw 2/mysql.so cket
mysqld  3785  al  16uW  REG     8,7  131072 7340178 /home/al/.local/share/akon adi/db_dat a/akonadi/ collection attributet able.ibd
mysqld  3785  al  17uW  REG     8,7   98304 7340311 /home/al/.local/share/akon adi/db_dat a/akonadi/ collection mimetypere lation.ibd
mysqld  3785  al  18uW  REG     8,7   98304 7340345 /home/al/.local/share/akon adi/db_dat a/akonadi/ collection pimitemrel ation.ibd
mysqld  3785  al  19uW  REG     8,7  147456 7340334 /home/al/.local/share/akon adi/db_dat a/akonadi/ collection table.ibd
mysqld  3785  al  20uW  REG     8,7  114688 7340340 /home/al/.local/share/akon adi/db_dat a/akonadi/ flagtable. ibd
mysqld  3785  al  21uW  REG     8,7  114688 7340338 /home/al/.local/share/akon adi/db_dat a/akonadi/ mimetypeta ble.ibd
mysqld  3785  al  22uW  REG     8,7  131072 7340342 /home/al/.local/share/akon adi/db_dat a/akonadi/ parttable. ibd
mysqld  3785  al  23uW  REG     8,7   98304 7340309 /home/al/.local/share/akon adi/db_dat a/akonadi/ pimitemfla grelation. ibd
mysqld  3785  al  24uW  REG     8,7  147456 7340336 /home/al/.local/share/akon adi/db_dat a/akonadi/ pimitemtab le.ibd
mysqld  3785  al  25uW  REG     8,7  114688 7340332 /home/al/.local/share/akon adi/db_dat a/akonadi/ resourceta ble.ibd
mysqld  3785  al  26uW  REG     8,7   98304 7340330 /home/al/.local/share/akon adi/db_dat a/akonadi/ schemavers iontable.i bd
mysqld  3785  al  27u  REG     8,7   4096 7340235 /home/al/.local/share/akon adi/db_dat a/mysql/co lumns_priv .MYI
mysqld  3785  al  28u  REG     8,7     0 7340236 /home/al/.local/share/akon adi/db_dat a/mysql/co lumns_priv .MYD
mysqld  3785  al  29u  REG     8,7   5120 7340214 /home/al/.local/share/akon adi/db_dat a/mysql/db .MYI
mysqld  3785  al  30u  REG     8,7    880 7340215 /home/al/.local/share/akon adi/db_dat a/mysql/db .MYD
mysqld  3785  al  31u  REG     8,7   2048 7340281 /home/al/.local/share/akon adi/db_dat a/mysql/ev ent.MYI
mysqld  3785  al  32u  REG     8,7     0 7340282 /home/al/.local/share/akon adi/db_dat a/mysql/ev ent.MYD
mysqld  3785  al  33u  REG     8,7   1024 7340223 /home/al/.local/share/akon adi/db_dat a/mysql/fu nc.MYI
mysqld  3785  al  34u  REG     8,7     0 7340224 /home/al/.local/share/akon adi/db_dat a/mysql/fu nc.MYD
mysqld  3785  al  35u  REG     8,7    35 7340273 /home/al/.local/share/akon adi/db_dat a/mysql/ge neral_log. CSM
mysqld  3785  al  36r  REG     8,7     0 7340274 /home/al/.local/share/akon adi/db_dat a/mysql/ge neral_log. CSV
mysqld  3785  al  37u  REG     8,7   3072 7340241 /home/al/.local/share/akon adi/db_dat a/mysql/he lp_categor y.MYI
mysqld  3785  al  38u  REG     8,7   22659 7340242 /home/al/.local/share/akon adi/db_dat a/mysql/he lp_categor y.MYD
mysqld  3785  al  39u  REG     8,7   16384 7340249 /home/al/.local/share/akon adi/db_dat a/mysql/he lp_keyword .MYI
mysqld  3785  al  40u  REG     8,7   91408 7340250 /home/al/.local/share/akon adi/db_dat a/mysql/he lp_keyword .MYD
mysqld  3785  al  41u  REG     8,7   19456 7340244 /home/al/.local/share/akon adi/db_dat a/mysql/he lp_relatio n.MYI
mysqld  3785  al  42u  REG     8,7   9252 7340245 /home/al/.local/share/akon adi/db_dat a/mysql/he lp_relatio n.MYD
mysqld  3785  al  43u  REG     8,7   20480 7340238 /home/al/.local/share/akon adi/db_dat a/mysql/he lp_topic.M YI
mysqld  3785  al  44u  REG     8,7  446672 7340239 /home/al/.local/share/akon adi/db_dat a/mysql/he lp_topic.M YD
mysqld  3785  al  45u  REG     8,7   2048 7340217 /home/al/.local/share/akon adi/db_dat a/mysql/ho st.MYI
mysqld  3785  al  46u  REG     8,7     0 7340218 /home/al/.local/share/akon adi/db_dat a/mysql/ho st.MYD
mysqld  3785  al  47u  REG     8,7   1024 7340284 /home/al/.local/share/akon adi/db_dat a/mysql/nd b_binlog_i ndex.MYI
mysqld  3785  al  48u  REG     8,7     0 7340285 /home/al/.local/share/akon adi/db_dat a/mysql/nd b_binlog_i ndex.MYD
mysqld  3785  al  49u  REG     8,7   1024 7340226 /home/al/.local/share/akon adi/db_dat a/mysql/pl ugin.MYI
mysqld  3785  al  50u  REG     8,7     0 7340227 /home/al/.local/share/akon adi/db_dat a/mysql/pl ugin.MYD
mysqld  3785  al  51u  REG     8,7   2048 7340267 /home/al/.local/share/akon adi/db_dat a/mysql/pr oc.MYI
mysqld  3785  al  52u  REG     8,7     0 7340268 /home/al/.local/share/akon adi/db_dat a/mysql/pr oc.MYD
mysqld  3785  al  53u  REG     8,7   4096 7340270 /home/al/.local/share/akon adi/db_dat a/mysql/pr ocs_priv.M YI
mysqld  3785  al  54u  REG     8,7     0 7340271 /home/al/.local/share/akon adi/db_dat a/mysql/pr ocs_priv.M YD
mysqld  3785  al  55u  REG     8,7   5120 7340320 /home/al/.local/share/akon adi/db_dat a/mysql/pr oxies_priv .MYI
mysqld  3785  al  56u  REG     8,7   1386 7340321 /home/al/.local/share/akon adi/db_dat a/mysql/pr oxies_priv .MYD
mysqld  3785  al  57u  REG     8,7    35 7340276 /home/al/.local/share/akon adi/db_dat a/mysql/sl ow_log.CSM
mysqld  3785  al  58r  REG     8,7     0 7340277 /home/al/.local/share/akon adi/db_dat a/mysql/sl ow_log.CSV
mysqld  3785  al  59u  REG     8,7   4096 7340232 /home/al/.local/share/akon adi/db_dat a/mysql/ta bles_priv. MYI
mysqld  3785  al  60u  REG     8,7     0 7340233 /home/al/.local/share/akon adi/db_dat a/mysql/ta bles_priv. MYD
mysqld  3785  al  61u  REG     8,7   1024 7340255 /home/al/.local/share/akon adi/db_dat a/mysql/ti me_zone.MY I
mysqld  3785  al  62u  REG     8,7     0 7340256 /home/al/.local/share/akon adi/db_dat a/mysql/ti me_zone.MY D
mysqld  3785  al  63u  REG     8,7   1024 7340264 /home/al/.local/share/akon adi/db_dat a/mysql/ti me_zone_le ap_second. MYI
mysqld  3785  al  64u  REG     8,7     0 7340265 /home/al/.local/share/akon adi/db_dat a/mysql/ti me_zone_le ap_second. MYD
mysqld  3785  al  65u  REG     8,7   1024 7340252 /home/al/.local/share/akon adi/db_dat a/mysql/ti me_zone_na me.MYI
mysqld  3785  al  66u  REG     8,7     0 7340253 /home/al/.local/share/akon adi/db_dat a/mysql/ti me_zone_na me.MYD
mysqld  3785  al  67u  REG     8,7   1024 7340258 /home/al/.local/share/akon adi/db_dat a/mysql/ti me_zone_tr ansition.M YI
mysqld  3785  al  68u  REG     8,7     0 7340259 /home/al/.local/share/akon adi/db_dat a/mysql/ti me_zone_tr ansition.M YD
mysqld  3785  al  69u  REG     8,7   1024 7340261 /home/al/.local/share/akon adi/db_dat a/mysql/ti me_zone_tr ansition_t ype.MYI
mysqld  3785  al  70u  REG     8,7     0 7340262 /home/al/.local/share/akon adi/db_dat a/mysql/ti me_zone_tr ansition_t ype.MYD
mysqld  3785  al  71u  REG     8,7   2048 7340220 /home/al/.local/share/akon adi/db_dat a/mysql/us er.MYI
mysqld  3785  al  72u  REG     8,7    320 7340221 /home/al/.local/share/akon adi/db_dat a/mysql/us er.MYD
mysqld  3785  al  73u  unix 0xf0cab700    0t0  16680 /home/al/.local/share/akon adi/socket -linux-6yw 2/mysql.so cket
mysqld  3785  al  74u  unix 0xf0cab280    0t0  17740 /home/al/.local/share/akon adi/socket -linux-6yw 2/mysql.so cket
mysqld  3785  al  75u  unix 0xf08a7040    0t0  16721 /home/al/.local/share/akon adi/socket -linux-6yw 2/mysql.so cket
mysqld  3785  al  76u  unix 0xef503dc0    0t0  16745 /home/al/.local/share/akon adi/socket -linux-6yw 2/mysql.so cket
mysqld  3785  al  77u  unix 0xef503940    0t0  16747 /home/al/.local/share/akon adi/socket -linux-6yw 2/mysql.so cket
mysqld  3785  al  78u  unix 0xf62f3940    0t0  16751 /home/al/.local/share/akon adi/socket -linux-6yw 2/mysql.so cket
mysqld  3785  al  79u  unix 0xef5034c0    0t0  16753 /home/al/.local/share/akon adi/socket -linux-6yw 2/mysql.so cket
mysqld  3785  al  80u  unix 0xf62f34c0    0t0  17872 /home/al/.local/share/akon adi/socket -linux-6yw 2/mysql.so cket
mysqld  3785  al  81u  unix 0xef503040    0t0  17875 /home/al/.local/share/akon adi/socket -linux-6yw 2/mysql.so cket
mysqld  3785  al  82u  unix 0xf620ab80    0t0  17878 /home/al/.local/share/akon adi/socket -linux-6yw 2/mysql.so cket
mysqld  3785  al  83u  unix 0xef9aab80    0t0  17880 /home/al/.local/share/akon adi/socket -linux-6yw 2/mysql.so cket
al@linux-6yw2:~>
al@linux-6yw2:~> lsof -p 3785
COMMAND Â PID USER Â FD Â TYPE Â Â DEVICE SIZE/OFF Â Â NODE NAME
mysqld  3785  al  cwd   DIR     8,7   4096 7340207 /home/al/.local/share/akon
mysqld  3785  al  rtd   DIR     8,6   4096    2 /
mysqld  3785  al  txt   REG     8,6 10042748 1057671 /usr/sbin/mysqld
mysqld  3785  al  mem   REG     8,6  1920983  920913 /lib/libc-2.1al@linux-6yw2
COMMAND Â PID USER Â FD Â TYPE Â Â DEVICE SIZE/OFF Â Â NODE NAME
mysqld  3785  al  cwd   DIR     8,7   4096 7340207 /home/al/.local/share/akon
mysqld  3785  al  rtd   DIR     8,6   4096    2 /
mysqld  3785  al  txt   REG     8,6 10042748 1057671 /usr/sbin/mysqld
mysqld  3785  al  mem   REG     8,6  1920983  920913 /lib/libc-2.15.so
mysqld  3785  al  mem   REG     8,6  116348  920837 /lib/libgcc_s.so.1
mysqld  3785  al  mem   REG     8,6  201625  920316 /lib/libm-2.15.so
mysqld  3785  al  mem   REG     8,6  938684  793691 /usr/lib/libstdc++.so.6.0.
mysqld  3785  al  mem   REG     8,6  1779904  920820 /lib/libcrypto.so.1.0.0
mysqld  3785  al  mem   REG     8,6  395376  920904 /lib/libssl.so.1.0.0
mysqld  3785  al  mem   REG     8,6   17364  920836 /lib/libdl-2.15.so
mysqld  3785  al  mem   REG     8,6   61173  920771 /lib/libcrypt-2.15.so
mysqld  3785  al  mem   REG     8,6  124731  920773 /lib/libpthread-2.15.so
mysqld  3785  al  mem   REG     8,6   38955  920491 /lib/librt-2.15.so
mysqld  3785  al  mem   REG     8,6   87544  920848 /lib/libz.so.1.2.7
mysqld  3785  al  mem   REG     8,6  152418  920851 /lib/ld-2.15.so
mysqld  3785  al   0r  FIFO     0,8    0t0  17597 pipe
mysqld  3785  al   1w  REG     8,7    701 7340148 /home/al/.local/share/akon
mysqld  3785  al   2w  REG     8,7    701 7340148 /home/al/.local/share/akon
mysqld  3785  al   3uW  REG     8,7 18874368 7340322 /home/al/.local/share/akon
mysqld  3785  al   4u  REG     8,6     0 1216639 /tmp/ib6y3h6b (deleted)
mysqld  3785  al   5u  REG     8,6     0 1220132 /tmp/ibzELXua (deleted)
mysqld  3785  al   6u  REG     8,6     0 1220133 /tmp/ibeORDT8 (deleted)
mysqld  3785  al   7u  REG     8,6     0 1220134 /tmp/ibpU7Lj7 (deleted)
mysqld  3785  al   8uW  REG     8,7 67108864 7340323 /home/al/.local/share/akon
mysqld  3785  al   9uW  REG     8,7 67108864 7340324 /home/al/.local/share/akon
mysqld  3785  al  10u  unix 0xf62e8b80    0t0  16668 /home/al/.local/share/akon
mysqld  3785  al  11u  REG     8,6     0 1220136 /tmp/ibrMRAv6 (deleted)
mysqld  3785  al  12u  REG     8,7   1024 7340229 /home/al/.local/share/akon
mysqld  3785  al  13u  REG     8,7     0 7340230 /home/al/.local/share/akon
mysqld  3785  al  14u  unix 0xf62e84c0    0t0  17732 /home/al/.local/share/akon
mysqld  3785  al  15u  unix 0xf62e8040    0t0  17733 /home/al/.local/share/akon
mysqld  3785  al  16uW  REG     8,7  131072 7340178 /home/al/.local/share/akon
mysqld  3785  al  17uW  REG     8,7   98304 7340311 /home/al/.local/share/akon
mysqld  3785  al  18uW  REG     8,7   98304 7340345 /home/al/.local/share/akon
mysqld  3785  al  19uW  REG     8,7  147456 7340334 /home/al/.local/share/akon
mysqld  3785  al  20uW  REG     8,7  114688 7340340 /home/al/.local/share/akon
mysqld  3785  al  21uW  REG     8,7  114688 7340338 /home/al/.local/share/akon
mysqld  3785  al  22uW  REG     8,7  131072 7340342 /home/al/.local/share/akon
mysqld  3785  al  23uW  REG     8,7   98304 7340309 /home/al/.local/share/akon
mysqld  3785  al  24uW  REG     8,7  147456 7340336 /home/al/.local/share/akon
mysqld  3785  al  25uW  REG     8,7  114688 7340332 /home/al/.local/share/akon
mysqld  3785  al  26uW  REG     8,7   98304 7340330 /home/al/.local/share/akon
mysqld  3785  al  27u  REG     8,7   4096 7340235 /home/al/.local/share/akon
mysqld  3785  al  28u  REG     8,7     0 7340236 /home/al/.local/share/akon
mysqld  3785  al  29u  REG     8,7   5120 7340214 /home/al/.local/share/akon
mysqld  3785  al  30u  REG     8,7    880 7340215 /home/al/.local/share/akon
mysqld  3785  al  31u  REG     8,7   2048 7340281 /home/al/.local/share/akon
mysqld  3785  al  32u  REG     8,7     0 7340282 /home/al/.local/share/akon
mysqld  3785  al  33u  REG     8,7   1024 7340223 /home/al/.local/share/akon
mysqld  3785  al  34u  REG     8,7     0 7340224 /home/al/.local/share/akon
mysqld  3785  al  35u  REG     8,7    35 7340273 /home/al/.local/share/akon
mysqld  3785  al  36r  REG     8,7     0 7340274 /home/al/.local/share/akon
mysqld  3785  al  37u  REG     8,7   3072 7340241 /home/al/.local/share/akon
mysqld  3785  al  38u  REG     8,7   22659 7340242 /home/al/.local/share/akon
mysqld  3785  al  39u  REG     8,7   16384 7340249 /home/al/.local/share/akon
mysqld  3785  al  40u  REG     8,7   91408 7340250 /home/al/.local/share/akon
mysqld  3785  al  41u  REG     8,7   19456 7340244 /home/al/.local/share/akon
mysqld  3785  al  42u  REG     8,7   9252 7340245 /home/al/.local/share/akon
mysqld  3785  al  43u  REG     8,7   20480 7340238 /home/al/.local/share/akon
mysqld  3785  al  44u  REG     8,7  446672 7340239 /home/al/.local/share/akon
mysqld  3785  al  45u  REG     8,7   2048 7340217 /home/al/.local/share/akon
mysqld  3785  al  46u  REG     8,7     0 7340218 /home/al/.local/share/akon
mysqld  3785  al  47u  REG     8,7   1024 7340284 /home/al/.local/share/akon
mysqld  3785  al  48u  REG     8,7     0 7340285 /home/al/.local/share/akon
mysqld  3785  al  49u  REG     8,7   1024 7340226 /home/al/.local/share/akon
mysqld  3785  al  50u  REG     8,7     0 7340227 /home/al/.local/share/akon
mysqld  3785  al  51u  REG     8,7   2048 7340267 /home/al/.local/share/akon
mysqld  3785  al  52u  REG     8,7     0 7340268 /home/al/.local/share/akon
mysqld  3785  al  53u  REG     8,7   4096 7340270 /home/al/.local/share/akon
mysqld  3785  al  54u  REG     8,7     0 7340271 /home/al/.local/share/akon
mysqld  3785  al  55u  REG     8,7   5120 7340320 /home/al/.local/share/akon
mysqld  3785  al  56u  REG     8,7   1386 7340321 /home/al/.local/share/akon
mysqld  3785  al  57u  REG     8,7    35 7340276 /home/al/.local/share/akon
mysqld  3785  al  58r  REG     8,7     0 7340277 /home/al/.local/share/akon
mysqld  3785  al  59u  REG     8,7   4096 7340232 /home/al/.local/share/akon
mysqld  3785  al  60u  REG     8,7     0 7340233 /home/al/.local/share/akon
mysqld  3785  al  61u  REG     8,7   1024 7340255 /home/al/.local/share/akon
mysqld  3785  al  62u  REG     8,7     0 7340256 /home/al/.local/share/akon
mysqld  3785  al  63u  REG     8,7   1024 7340264 /home/al/.local/share/akon
mysqld  3785  al  64u  REG     8,7     0 7340265 /home/al/.local/share/akon
mysqld  3785  al  65u  REG     8,7   1024 7340252 /home/al/.local/share/akon
mysqld  3785  al  66u  REG     8,7     0 7340253 /home/al/.local/share/akon
mysqld  3785  al  67u  REG     8,7   1024 7340258 /home/al/.local/share/akon
mysqld  3785  al  68u  REG     8,7     0 7340259 /home/al/.local/share/akon
mysqld  3785  al  69u  REG     8,7   1024 7340261 /home/al/.local/share/akon
mysqld  3785  al  70u  REG     8,7     0 7340262 /home/al/.local/share/akon
mysqld  3785  al  71u  REG     8,7   2048 7340220 /home/al/.local/share/akon
mysqld  3785  al  72u  REG     8,7    320 7340221 /home/al/.local/share/akon
mysqld  3785  al  73u  unix 0xf0cab700    0t0  16680 /home/al/.local/share/akon
mysqld  3785  al  74u  unix 0xf0cab280    0t0  17740 /home/al/.local/share/akon
mysqld  3785  al  75u  unix 0xf08a7040    0t0  16721 /home/al/.local/share/akon
mysqld  3785  al  76u  unix 0xef503dc0    0t0  16745 /home/al/.local/share/akon
mysqld  3785  al  77u  unix 0xef503940    0t0  16747 /home/al/.local/share/akon
mysqld  3785  al  78u  unix 0xf62f3940    0t0  16751 /home/al/.local/share/akon
mysqld  3785  al  79u  unix 0xef5034c0    0t0  16753 /home/al/.local/share/akon
mysqld  3785  al  80u  unix 0xf62f34c0    0t0  17872 /home/al/.local/share/akon
mysqld  3785  al  81u  unix 0xef503040    0t0  17875 /home/al/.local/share/akon
mysqld  3785  al  82u  unix 0xf620ab80    0t0  17878 /home/al/.local/share/akon
mysqld  3785  al  83u  unix 0xef9aab80    0t0  17880 /home/al/.local/share/akon
al@linux-6yw2:~>
5.so
mysqld  3785  al  mem   REG     8,6  116348  920837 /lib/libgcc_s.so.1
mysqld  3785  al  mem   REG     8,6  201625  920316 /lib/libm-2.15.so
mysqld  3785  al  mem   REG     8,6  938684  793691 /usr/lib/libstdc++.so.6.0.
mysqld  3785  al  mem   REG     8,6  1779904  920820 /lib/libcrypto.so.1.0.0
mysqld  3785  al  mem   REG     8,6  395376  920904 /lib/libssl.so.1.0.0
mysqld  3785  al  mem   REG     8,6   17364  920836 /lib/libdl-2.15.so
mysqld  3785  al  mem   REG     8,6   61173  920771 /lib/libcrypt-2.15.so
mysqld  3785  al  mem   REG     8,6  124731  920773 /lib/libpthread-2.15.so
mysqld  3785  al  mem   REG     8,6   38955  920491 /lib/librt-2.15.so
mysqld  3785  al  mem   REG     8,6   87544  920848 /lib/libz.so.1.2.7
mysqld  3785  al  mem   REG     8,6  152418  920851 /lib/ld-2.15.so
mysqld  3785  al   0r  FIFO     0,8    0t0  17597 pipe
mysqld  3785  al   1w  REG     8,7    701 7340148 /home/al/.local/share/akon
mysqld  3785  al   2w  REG     8,7    701 7340148 /home/al/.local/share/akon
mysqld  3785  al   3uW  REG     8,7 18874368 7340322 /home/al/.local/share/akon
mysqld  3785  al   4u  REG     8,6     0 1216639 /tmp/ib6y3h6b (deleted)
mysqld  3785  al   5u  REG     8,6     0 1220132 /tmp/ibzELXua (deleted)
mysqld  3785  al   6u  REG     8,6     0 1220133 /tmp/ibeORDT8 (deleted)
mysqld  3785  al   7u  REG     8,6     0 1220134 /tmp/ibpU7Lj7 (deleted)
mysqld  3785  al   8uW  REG     8,7 67108864 7340323 /home/al/.local/share/akon
mysqld  3785  al   9uW  REG     8,7 67108864 7340324 /home/al/.local/share/akon
mysqld  3785  al  10u  unix 0xf62e8b80    0t0  16668 /home/al/.local/share/akon
mysqld  3785  al  11u  REG     8,6     0 1220136 /tmp/ibrMRAv6 (deleted)
mysqld  3785  al  12u  REG     8,7   1024 7340229 /home/al/.local/share/akon
mysqld  3785  al  13u  REG     8,7     0 7340230 /home/al/.local/share/akon
mysqld  3785  al  14u  unix 0xf62e84c0    0t0  17732 /home/al/.local/share/akon
mysqld  3785  al  15u  unix 0xf62e8040    0t0  17733 /home/al/.local/share/akon
mysqld  3785  al  16uW  REG     8,7  131072 7340178 /home/al/.local/share/akon
mysqld  3785  al  17uW  REG     8,7   98304 7340311 /home/al/.local/share/akon
mysqld  3785  al  18uW  REG     8,7   98304 7340345 /home/al/.local/share/akon
mysqld  3785  al  19uW  REG     8,7  147456 7340334 /home/al/.local/share/akon
mysqld  3785  al  20uW  REG     8,7  114688 7340340 /home/al/.local/share/akon
mysqld  3785  al  21uW  REG     8,7  114688 7340338 /home/al/.local/share/akon
mysqld  3785  al  22uW  REG     8,7  131072 7340342 /home/al/.local/share/akon
mysqld  3785  al  23uW  REG     8,7   98304 7340309 /home/al/.local/share/akon
mysqld  3785  al  24uW  REG     8,7  147456 7340336 /home/al/.local/share/akon
mysqld  3785  al  25uW  REG     8,7  114688 7340332 /home/al/.local/share/akon
mysqld  3785  al  26uW  REG     8,7   98304 7340330 /home/al/.local/share/akon
mysqld  3785  al  27u  REG     8,7   4096 7340235 /home/al/.local/share/akon
mysqld  3785  al  28u  REG     8,7     0 7340236 /home/al/.local/share/akon
mysqld  3785  al  29u  REG     8,7   5120 7340214 /home/al/.local/share/akon
mysqld  3785  al  30u  REG     8,7    880 7340215 /home/al/.local/share/akon
mysqld  3785  al  31u  REG     8,7   2048 7340281 /home/al/.local/share/akon
mysqld  3785  al  32u  REG     8,7     0 7340282 /home/al/.local/share/akon
mysqld  3785  al  33u  REG     8,7   1024 7340223 /home/al/.local/share/akon
mysqld  3785  al  34u  REG     8,7     0 7340224 /home/al/.local/share/akon
mysqld  3785  al  35u  REG     8,7    35 7340273 /home/al/.local/share/akon
mysqld  3785  al  36r  REG     8,7     0 7340274 /home/al/.local/share/akon
mysqld  3785  al  37u  REG     8,7   3072 7340241 /home/al/.local/share/akon
mysqld  3785  al  38u  REG     8,7   22659 7340242 /home/al/.local/share/akon
mysqld  3785  al  39u  REG     8,7   16384 7340249 /home/al/.local/share/akon
mysqld  3785  al  40u  REG     8,7   91408 7340250 /home/al/.local/share/akon
mysqld  3785  al  41u  REG     8,7   19456 7340244 /home/al/.local/share/akon
mysqld  3785  al  42u  REG     8,7   9252 7340245 /home/al/.local/share/akon
mysqld  3785  al  43u  REG     8,7   20480 7340238 /home/al/.local/share/akon
mysqld  3785  al  44u  REG     8,7  446672 7340239 /home/al/.local/share/akon
mysqld  3785  al  45u  REG     8,7   2048 7340217 /home/al/.local/share/akon
mysqld  3785  al  46u  REG     8,7     0 7340218 /home/al/.local/share/akon
mysqld  3785  al  47u  REG     8,7   1024 7340284 /home/al/.local/share/akon
mysqld  3785  al  48u  REG     8,7     0 7340285 /home/al/.local/share/akon
mysqld  3785  al  49u  REG     8,7   1024 7340226 /home/al/.local/share/akon
mysqld  3785  al  50u  REG     8,7     0 7340227 /home/al/.local/share/akon
mysqld  3785  al  51u  REG     8,7   2048 7340267 /home/al/.local/share/akon
mysqld  3785  al  52u  REG     8,7     0 7340268 /home/al/.local/share/akon
mysqld  3785  al  53u  REG     8,7   4096 7340270 /home/al/.local/share/akon
mysqld  3785  al  54u  REG     8,7     0 7340271 /home/al/.local/share/akon
mysqld  3785  al  55u  REG     8,7   5120 7340320 /home/al/.local/share/akon
mysqld  3785  al  56u  REG     8,7   1386 7340321 /home/al/.local/share/akon
mysqld  3785  al  57u  REG     8,7    35 7340276 /home/al/.local/share/akon
mysqld  3785  al  58r  REG     8,7     0 7340277 /home/al/.local/share/akon
mysqld  3785  al  59u  REG     8,7   4096 7340232 /home/al/.local/share/akon
mysqld  3785  al  60u  REG     8,7     0 7340233 /home/al/.local/share/akon
mysqld  3785  al  61u  REG     8,7   1024 7340255 /home/al/.local/share/akon
mysqld  3785  al  62u  REG     8,7     0 7340256 /home/al/.local/share/akon
mysqld  3785  al  63u  REG     8,7   1024 7340264 /home/al/.local/share/akon
mysqld  3785  al  64u  REG     8,7     0 7340265 /home/al/.local/share/akon
mysqld  3785  al  65u  REG     8,7   1024 7340252 /home/al/.local/share/akon
mysqld  3785  al  66u  REG     8,7     0 7340253 /home/al/.local/share/akon
mysqld  3785  al  67u  REG     8,7   1024 7340258 /home/al/.local/share/akon
mysqld  3785  al  68u  REG     8,7     0 7340259 /home/al/.local/share/akon
mysqld  3785  al  69u  REG     8,7   1024 7340261 /home/al/.local/share/akon
mysqld  3785  al  70u  REG     8,7     0 7340262 /home/al/.local/share/akon
mysqld  3785  al  71u  REG     8,7   2048 7340220 /home/al/.local/share/akon
mysqld  3785  al  72u  REG     8,7    320 7340221 /home/al/.local/share/akon
mysqld  3785  al  73u  unix 0xf0cab700    0t0  16680 /home/al/.local/share/akon
mysqld  3785  al  74u  unix 0xf0cab280    0t0  17740 /home/al/.local/share/akon
mysqld  3785  al  75u  unix 0xf08a7040    0t0  16721 /home/al/.local/share/akon
mysqld  3785  al  76u  unix 0xef503dc0    0t0  16745 /home/al/.local/share/akon
mysqld  3785  al  77u  unix 0xef503940    0t0  16747 /home/al/.local/share/akon
mysqld  3785  al  78u  unix 0xf62f3940    0t0  16751 /home/al/.local/share/akon
mysqld  3785  al  79u  unix 0xef5034c0    0t0  16753 /home/al/.local/share/akon
mysqld  3785  al  80u  unix 0xf62f34c0    0t0  17872 /home/al/.local/share/akon
mysqld  3785  al  81u  unix 0xef503040    0t0  17875 /home/al/.local/share/akon
mysqld  3785  al  82u  unix 0xf620ab80    0t0  17878 /home/al/.local/share/akon
mysqld  3785  al  83u  unix 0xef9aab80    0t0  17880 /home/al/.local/share/akon
al@linux-6yw2:~>
ASKER
oops I guess I got it duplicated. Â Sorry.
ASKER
the my.cnf file is in the /etc directory. Â It is attached.
ASKER
I noticed in the my.cnf file it points to:
/var/lib/mysql/mysql.sock
but that file does not exist.
/var/lib/mysql/mysql.sock
but that file does not exist.
Your mysqld server opens the socket in /home/al/.local/share/akon adi/socket -linux-6yw 2/mysql.so cket
Way do you start mysql as your user account versus enabling the server to run the daemon as mysql in /var/lib/mysql?
Ether modify the my.cnf and reference this socket or modify how your mysql starts/runs.
Way do you start mysql as your user account versus enabling the server to run the daemon as mysql in /var/lib/mysql?
Ether modify the my.cnf and reference this socket or modify how your mysql starts/runs.
ASKER
Which would  you suggest as the best alternative?  I installed mysql when I installed the operating system,  in Yast set it to run on boot, and it has been running with those defaults ever since.
Not sure what configuration options you choose for mysql. Modify /etc/my.cnf to ave the socket point to where it is now, or modify the startup process to use the socket in the location where my.cnf points to.
ASKER
Sorry for the delay in getting back to this. Â I am not sure how to accomplish what you suggest in your last post. Â If I read your posts correctly are you suggesting I change the following line in my.cnf file in the /etc directory?
socket      = /var/run/mysql/mysql.sock
to read:
socket      =/home/al/.local/share/ako nadi/socke t-linux-6y w2/mysql.s ocket
Below is the portion of the file where I see the "socket    =" line.  If the above is correct I don't know what to do to "modify the startup process."  Thanks arnold.
# The MySQL server
[mysqld]
port       = 3306
socket      = /var/run/mysql/mysql.sock
# Change following line if you want to store your database elsewhere
datadir = /var/lib/mysql
skip-external-locking
key_buffer_size = 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
socket      = /var/run/mysql/mysql.sock
to read:
socket      =/home/al/.local/share/ako
Below is the portion of the file where I see the "socket    =" line.  If the above is correct I don't know what to do to "modify the startup process."  Thanks arnold.
# The MySQL server
[mysqld]
port       = 3306
socket      = /var/run/mysql/mysql.sock
# Change following line if you want to store your database elsewhere
datadir = /var/lib/mysql
skip-external-locking
key_buffer_size = 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
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Don't know what I did exactly arnold but I am back in business. Â I did change the my.cnf file. Â Again Thanks!
Take the time to look when and how the service starts and make sure where the data is gathered for the settings.
ASKER
How do I check to see when and how the service starts?
Not too familiar with suse, look at /etc/init.d/mysqld is likely has the settings or refers where the different parameters are loaded from.
Do you start mysql, or does it start when the system boots?
chkconfig --list |grep -i mysql
Yast might be the tool you need to use to manage the service
Do you start mysql, or does it start when the system boots?
chkconfig --list |grep -i mysql
Yast might be the tool you need to use to manage the service
ps -ef | grep -i mysql
lsof -p <PID of mysql server>
Look what socket/tcp port it is bound to.
Try mysql -h localhost -P 3306 -u root -p