Fedora Linux Support Community & Resources Center
  #1  
Old 26th May 2012, 05:38 PM
AgoristTeen1994 Offline
Registered User
 
Join Date: May 2012
Location: Michigan
Posts: 6
linuxchrome
Problems with MySQL

Hey not sure if this is the right place on the forum or not, but here's my problem. I'm trying to set up a tor hidden service, and I need to set up a web server, so I googled how to do so and got this.http://fedorasolved.org/server-solutions/lamp-stack

I then proceeded to follow the instructions up until I got to running the command

Code:
mysqladmin version status
and got this error: mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!

---------- Post added at 12:37 PM ---------- Previous post was at 12:36 PM ----------

I then input this bit of code in

Code:
find / | grep "sock"
which had an output like this (note this is only what was showing in the terminal...part of the output I can't get to so I can copy and paste it into this post)

---------- Post added at 12:37 PM ---------- Previous post was at 12:37 PM ----------

/proc/1887/net/sockstat
/proc/1887/attr/sockcreate
/proc/1888/task/1888/attr/sockcreate
/proc/1888/task/1946/attr/sockcreate
/proc/1888/net/sockstat6
/proc/1888/net/sockstat
/proc/1888/attr/sockcreate
/proc/1908/task/1908/attr/sockcreate
/proc/1908/net/sockstat6
/proc/1908/net/sockstat
/proc/1908/attr/sockcreate
/proc/1944/task/1944/attr/sockcreate
/proc/1944/net/sockstat6
/proc/1944/net/sockstat
/proc/1944/attr/sockcreate
/proc/1945/task/1945/attr/sockcreate
/proc/1945/task/1948/attr/sockcreate
/proc/1945/task/1949/attr/sockcreate
/proc/1945/net/sockstat6
/proc/1945/net/sockstat
/proc/1945/attr/sockcreate
/proc/1951/task/1951/attr/sockcreate
/proc/1951/task/1952/attr/sockcreate
/proc/1951/task/1953/attr/sockcreate
/proc/1951/task/2049/attr/sockcreate
/proc/1951/task/2051/attr/sockcreate
/proc/1951/task/2053/attr/sockcreate
/proc/1951/task/2054/attr/sockcreate
/proc/1951/net/sockstat6
/proc/1951/net/sockstat
/proc/1951/attr/sockcreate
/proc/1955/task/1955/attr/sockcreate
/proc/1955/task/1972/attr/sockcreate
/proc/1955/net/sockstat6
/proc/1955/net/sockstat
/proc/1955/attr/sockcreate
/proc/1961/task/1961/attr/sockcreate
/proc/1961/task/1966/attr/sockcreate
/proc/1961/net/sockstat6
/proc/1961/net/sockstat
/proc/1961/attr/sockcreate
/proc/1963/task/1963/attr/sockcreate
/proc/1963/task/2062/attr/sockcreate
/proc/1963/net/sockstat6
/proc/1963/net/sockstat
/proc/1963/attr/sockcreate
/proc/1971/task/1971/attr/sockcreate
/proc/1971/task/1985/attr/sockcreate
/proc/1971/task/1986/attr/sockcreate
/proc/1971/net/sockstat6
/proc/1971/net/sockstat
/proc/1971/attr/sockcreate
/proc/1974/task/1974/attr/sockcreate
/proc/1974/task/1995/attr/sockcreate
/proc/1974/task/1996/attr/sockcreate
/proc/1974/net/sockstat6
/proc/1974/net/sockstat
/proc/1974/attr/sockcreate
/proc/1988/task/1988/attr/sockcreate
/proc/1988/task/1989/attr/sockcreate
/proc/1988/task/2006/attr/sockcreate
/proc/1988/net/sockstat6
/proc/1988/net/sockstat
/proc/1988/attr/sockcreate
/proc/1991/task/1991/attr/sockcreate
/proc/1991/task/2004/attr/sockcreate
/proc/1991/net/sockstat6
/proc/1991/net/sockstat
/proc/1991/attr/sockcreate
/proc/2008/task/2008/attr/sockcreate
/proc/2008/task/2034/attr/sockcreate
/proc/2008/task/2035/attr/sockcreate
/proc/2008/net/sockstat6
/proc/2008/net/sockstat
/proc/2008/attr/sockcreate
/proc/2011/task/2011/attr/sockcreate
/proc/2011/task/2014/attr/sockcreate
/proc/2011/task/2015/attr/sockcreate
/proc/2011/net/sockstat6
/proc/2011/net/sockstat
/proc/2011/attr/sockcreate
/proc/2361/task/2361/attr/sockcreate
/proc/2361/task/2419/attr/sockcreate
/proc/2361/task/2420/attr/sockcreate
/proc/2361/task/2448/attr/sockcreate
/proc/2361/task/2449/attr/sockcreate
/proc/2361/task/2450/attr/sockcreate
/proc/2361/task/2451/attr/sockcreate
/proc/2361/task/2452/attr/sockcreate
/proc/2361/task/2453/attr/sockcreate
/proc/2361/task/2454/attr/sockcreate
/proc/2361/task/2455/attr/sockcreate
/proc/2361/task/2456/attr/sockcreate
/proc/2361/task/2458/attr/sockcreate
/proc/2361/task/2459/attr/sockcreate
/proc/2361/net/sockstat6
/proc/2361/net/sockstat
/proc/2361/attr/sockcreate
/proc/2821/task/2821/attr/sockcreate
/proc/2821/net/sockstat6
/proc/2821/net/sockstat
/proc/2821/attr/sockcreate
/proc/2825/task/2825/attr/sockcreate
/proc/2825/net/sockstat6
/proc/2825/net/sockstat
/proc/2825/attr/sockcreate
/proc/3118/task/3118/attr/sockcreate
/proc/3118/task/3119/attr/sockcreate
/proc/3118/task/3121/attr/sockcreate
/proc/3118/net/sockstat6
/proc/3118/net/sockstat
/proc/3118/attr/sockcreate
/proc/3308/task/3308/attr/sockcreate
/proc/3308/net/sockstat6
/proc/3308/net/sockstat
/proc/3308/attr/sockcreate
/proc/3319/task/3319/attr/sockcreate
/proc/3319/net/sockstat6
/proc/3319/net/sockstat
/proc/3319/attr/sockcreate
/proc/3494/task/3494/attr/sockcreate
/proc/3494/net/sockstat6
/proc/3494/net/sockstat
/proc/3494/attr/sockcreate
/proc/3792/task/3792/attr/sockcreate
/proc/3792/net/sockstat6
/proc/3792/net/sockstat
/proc/3792/attr/sockcreate
/proc/3825/task/3825/attr/sockcreate
/proc/3825/net/sockstat6
/proc/3825/net/sockstat
/proc/3825/attr/sockcreate
/proc/3874/task/3874/attr/sockcreate
/proc/3874/task/3876/attr/sockcreate
/proc/3874/task/3877/attr/sockcreate
/proc/3874/task/3881/attr/sockcreate
/proc/3874/net/sockstat6
/proc/3874/net/sockstat
/proc/3874/attr/sockcreate
/proc/4723/task/4723/attr/sockcreate
/proc/4723/net/sockstat6
/proc/4723/net/sockstat
/proc/4723/attr/sockcreate
/proc/4818/task/4818/attr/sockcreate
/proc/4818/net/sockstat6
/proc/4818/net/sockstat
/proc/4818/attr/sockcreate
/proc/5119/task/5119/attr/sockcreate
/proc/5119/task/5120/attr/sockcreate
/proc/5119/task/5121/attr/sockcreate
/proc/5119/net/sockstat6
/proc/5119/net/sockstat
/proc/5119/attr/sockcreate
/proc/5577/task/5577/attr/sockcreate
/proc/5577/task/5579/attr/sockcreate
/proc/5577/task/5582/attr/sockcreate
/proc/5577/task/5584/attr/sockcreate
/proc/5577/net/sockstat6
/proc/5577/net/sockstat
/proc/5577/attr/sockcreate
/proc/5621/task/5621/attr/sockcreate
/proc/5621/net/sockstat6
/proc/5621/net/sockstat
/proc/5621/attr/sockcreate
/proc/5622/task/5622/attr/sockcreate
/proc/5622/task/5624/attr/sockcreate
/proc/5622/task/5625/attr/sockcreate
/proc/5622/task/5629/attr/sockcreate
/proc/5622/net/sockstat6
/proc/5622/net/sockstat
/proc/5622/attr/sockcreate
/proc/5744/task/5744/attr/sockcreate
/proc/5744/net/sockstat6
/proc/5744/net/sockstat
/proc/5744/attr/sockcreate
/proc/5745/task/5745/attr/sockcreate
/proc/5745/net/sockstat6
/proc/5745/net/sockstat
/proc/5745/attr/sockcreate
/proc/5746/task/5746/attr/sockcreate

---------- Post added at 12:38 PM ---------- Previous post was at 12:37 PM ----------

/proc/5746/net/sockstat6
/proc/5746/net/sockstat
/proc/5746/attr/sockcreate
/proc/5747/task/5747/attr/sockcreate
/proc/5747/net/sockstat6
/proc/5747/net/sockstat
/proc/5747/attr/sockcreate
/proc/5748/task/5748/attr/sockcreate
/proc/5748/net/sockstat6
/proc/5748/net/sockstat
/proc/5748/attr/sockcreate
/proc/5749/task/5749/attr/sockcreate
/proc/5749/net/sockstat6
/proc/5749/net/sockstat
/proc/5749/attr/sockcreate
/proc/5750/task/5750/attr/sockcreate
/proc/5750/net/sockstat6
/proc/5750/net/sockstat
/proc/5750/attr/sockcreate
/proc/5751/task/5751/attr/sockcreate
/proc/5751/net/sockstat6
/proc/5751/net/sockstat
/proc/5751/attr/sockcreate
/proc/5752/task/5752/attr/sockcreate
/proc/5752/net/sockstat6
/proc/5752/net/sockstat
/proc/5752/attr/sockcreate
/proc/6031/task/6031/attr/sockcreate
/proc/6031/task/6034/attr/sockcreate
/proc/6031/task/6035/attr/sockcreate
/proc/6031/task/6038/attr/sockcreate
/proc/6031/net/sockstat6
/proc/6031/net/sockstat
/proc/6031/attr/sockcreate
/proc/6036/task/6036/attr/sockcreate
/proc/6036/net/sockstat6
/proc/6036/net/sockstat
/proc/6036/attr/sockcreate
/proc/6037/task/6037/attr/sockcreate
/proc/6037/net/sockstat6
/proc/6037/net/sockstat
/proc/6037/attr/sockcreate
/proc/6134/task/6134/attr/sockcreate
/proc/6134/net/sockstat6
/proc/6134/net/sockstat
/proc/6134/attr/sockcreate

---------- Post added at 12:38 PM ---------- Previous post was at 12:38 PM ----------

/proc/6341/task/6341/attr/sockcreate
/proc/6341/task/6342/attr/sockcreate
/proc/6341/task/6343/attr/sockcreate
/proc/6341/net/sockstat6
/proc/6341/net/sockstat
/proc/6341/attr/sockcreate
/proc/6446/task/6446/attr/sockcreate
/proc/6446/task/6448/attr/sockcreate
/proc/6446/task/6449/attr/sockcreate
/proc/6446/task/6454/attr/sockcreate
/proc/6446/net/sockstat6
/proc/6446/net/sockstat
/proc/6446/attr/sockcreate
/proc/6474/task/6474/attr/sockcreate
/proc/6474/net/sockstat6
/proc/6474/net/sockstat
/proc/6474/attr/sockcreate
/proc/6480/task/6480/attr/sockcreate
/proc/6480/net/sockstat6
/proc/6480/net/sockstat
/proc/6480/attr/sockcreate
/proc/6481/task/6481/attr/sockcreate
/proc/6481/net/sockstat6
/proc/6481/net/sockstat
__________________
"There are only two infinite things, the universe, and human stupidity, and I'm not too sure about the first one" Albert Einstein

"Liberty is the mother, not the daughter of order" Pierre-Joseph Proudhon
Reply With Quote
  #2  
Old 26th May 2012, 05:39 PM
AgoristTeen1994 Offline
Registered User
 
Join Date: May 2012
Location: Michigan
Posts: 6
linuxchrome
Re: Problems with MySQL

/proc/6481/attr/sockcreate
/proc/6482/task/6482/attr/sockcreate
/proc/6482/net/sockstat6
/proc/6482/net/sockstat
/proc/6482/attr/sockcreate
/proc/6483/task/6483/attr/sockcreate
/proc/6483/net/sockstat6
/proc/6483/net/sockstat
/proc/6483/attr/sockcreate
/proc/6484/task/6484/attr/sockcreate
/proc/6484/net/sockstat6
/proc/6484/net/sockstat
/proc/6484/attr/sockcreate
/proc/18305/task/18305/attr/sockcreate
/proc/18305/net/sockstat6
/proc/18305/net/sockstat
/proc/18305/attr/sockcreate
/proc/18329/task/18329/attr/sockcreate
/proc/18329/task/18343/attr/sockcreate
/proc/18329/task/18344/attr/sockcreate
/proc/18329/task/18345/attr/sockcreate
/proc/18329/task/18346/attr/sockcreate
/proc/18329/task/18347/attr/sockcreate
/proc/18329/task/18348/attr/sockcreate
/proc/18329/task/18349/attr/sockcreate
/proc/18329/task/18350/attr/sockcreate
/proc/18329/task/18351/attr/sockcreate
/proc/18329/task/18352/attr/sockcreate
/proc/18329/task/18354/attr/sockcreate
/proc/18329/task/18355/attr/sockcreate
/proc/18329/task/18366/attr/sockcreate
/proc/18329/task/18367/attr/sockcreate
/proc/18329/task/18368/attr/sockcreate
/proc/18329/task/18370/attr/sockcreate
/proc/18329/task/18373/attr/sockcreate
/proc/18329/task/18406/attr/sockcreate
/proc/18329/task/18483/attr/sockcreate
/proc/18329/task/18484/attr/sockcreate
/proc/18329/task/18485/attr/sockcreate
/proc/18329/task/5586/attr/sockcreate
/proc/18329/task/5594/attr/sockcreate
/proc/18329/task/5637/attr/sockcreate
/proc/18329/task/6437/attr/sockcreate
/proc/18329/task/6438/attr/sockcreate
/proc/18329/task/6439/attr/sockcreate
/proc/18329/task/6440/attr/sockcreate
/proc/18329/task/6441/attr/sockcreate
/proc/18329/task/6443/attr/sockcreate
/proc/18329/task/6444/attr/sockcreate
/proc/18329/task/6445/attr/sockcreate
/proc/18329/net/sockstat6
/proc/18329/net/sockstat
/proc/18329/attr/sockcreate
/proc/18335/task/18335/attr/sockcreate
/proc/18335/net/sockstat6
/proc/18335/net/sockstat
/proc/18335/attr/sockcreate
/proc/18337/task/18337/attr/sockcreate
/proc/18337/net/sockstat6
/proc/18337/net/sockstat
/proc/18337/attr/sockcreate
/proc/18338/task/18338/attr/sockcreate
/proc/18338/net/sockstat6
/proc/18338/net/sockstat
/proc/18338/attr/sockcreate
/proc/18341/task/18341/attr/sockcreate
/proc/18341/net/sockstat6
/proc/18341/net/sockstat
/proc/18341/attr/sockcreate
/proc/18486/task/18486/attr/sockcreate
/proc/18486/task/18487/attr/sockcreate
/proc/18486/task/18493/attr/sockcreate
/proc/18486/task/18494/attr/sockcreate
/proc/18486/task/18744/attr/sockcreate
/proc/18486/task/19026/attr/sockcreate
/proc/18486/task/19027/attr/sockcreate
/proc/18486/task/19028/attr/sockcreate
/proc/18486/task/19029/attr/sockcreate
/proc/18486/task/19030/attr/sockcreate
/proc/18486/task/19031/attr/sockcreate
/proc/18486/task/19032/attr/sockcreate
/proc/18486/task/19033/attr/sockcreate
/proc/18486/task/19034/attr/sockcreate
/proc/18486/task/19035/attr/sockcreate
/proc/18486/task/19039/attr/sockcreate
/proc/18486/task/19041/attr/sockcreate
/proc/18486/task/19048/attr/sockcreate
/proc/18486/task/19049/attr/sockcreate
/proc/18486/task/19050/attr/sockcreate
/proc/18486/task/19051/attr/sockcreate
/proc/18486/task/19055/attr/sockcreate
/proc/18486/task/19056/attr/sockcreate
/proc/18486/task/19057/attr/sockcreate
/proc/18486/task/19066/attr/sockcreate
/proc/18486/task/19074/attr/sockcreate
/proc/18486/task/19079/attr/sockcreate
/proc/18486/task/19080/attr/sockcreate
/proc/18486/task/19092/attr/sockcreate
/proc/18486/task/19093/attr/sockcreate
/proc/18486/task/19094/attr/sockcreate
/proc/18486/task/19095/attr/sockcreate
/proc/18486/task/19102/attr/sockcreate
/proc/18486/task/19103/attr/sockcreate
/proc/18486/task/19104/attr/sockcreate
/proc/18486/task/19105/attr/sockcreate
/proc/18486/task/19106/attr/sockcreate
/proc/18486/task/19107/attr/sockcreate
/proc/18486/task/19108/attr/sockcreate
/proc/18486/task/19118/attr/sockcreate
/proc/18486/task/19119/attr/sockcreate
/proc/18486/task/19120/attr/sockcreate
/proc/18486/task/19121/attr/sockcreate
/proc/18486/task/19122/attr/sockcreate
/proc/18486/task/19123/attr/sockcreate
/proc/18486/task/19124/attr/sockcreate
/proc/18486/task/19125/attr/sockcreate
/proc/18486/task/25954/attr/sockcreate
/proc/18486/task/25959/attr/sockcreate
/proc/18486/task/25964/attr/sockcreate
/proc/18486/task/25965/attr/sockcreate
/proc/18486/task/25975/attr/sockcreate
/proc/18486/task/25976/attr/sockcreate
/proc/18486/task/25977/attr/sockcreate
/proc/18486/task/25983/attr/sockcreate
/proc/18486/task/26026/attr/sockcreate
/proc/18486/task/26027/attr/sockcreate
/proc/18486/task/30238/attr/sockcreate
/proc/18486/task/30247/attr/sockcreate
/proc/18486/task/31053/attr/sockcreate
/proc/18486/task/31057/attr/sockcreate
/proc/18486/task/31083/attr/sockcreate
/proc/18486/task/31135/attr/sockcreate
/proc/18486/task/31795/attr/sockcreate
/proc/18486/task/31817/attr/sockcreate
/proc/18486/task/6455/attr/sockcreate
/proc/18486/task/6456/attr/sockcreate
/proc/18486/task/6457/attr/sockcreate
/proc/18486/task/6458/attr/sockcreate
/proc/18486/net/sockstat6
/proc/18486/net/sockstat
/proc/18486/attr/sockcreate
/proc/18696/task/18696/attr/sockcreate
/proc/18696/task/18702/attr/sockcreate
/proc/18696/task/18704/attr/sockcreate
/proc/18696/task/18706/attr/sockcreate
/proc/18696/net/sockstat6
/proc/18696/net/sockstat
/proc/18696/attr/sockcreate
/proc/18837/task/18837/attr/sockcreate
/proc/18837/task/18839/attr/sockcreate
/proc/18837/task/18840/attr/sockcreate
/proc/18837/task/18841/attr/sockcreate
/proc/18837/task/18855/attr/sockcreate
/proc/18837/net/sockstat6
/proc/18837/net/sockstat
/proc/18837/attr/sockcreate
/proc/19284/task/19284/attr/sockcreate
/proc/19284/task/19286/attr/sockcreate
/proc/19284/task/19288/attr/sockcreate
/proc/19284/task/19291/attr/sockcreate
/proc/19284/net/sockstat6
/proc/19284/net/sockstat
/proc/19284/attr/sockcreate
/proc/19304/task/19304/attr/sockcreate
/proc/19304/task/19309/attr/sockcreate
/proc/19304/task/19312/attr/sockcreate
/proc/19304/task/19314/attr/sockcreate
/proc/19304/net/sockstat6
/proc/19304/net/sockstat
/proc/19304/attr/sockcreate
/proc/25825/task/25825/attr/sockcreate
/proc/25825/task/25827/attr/sockcreate
/proc/25825/task/25828/attr/sockcreate
/proc/25825/task/25832/attr/sockcreate
/proc/25825/net/sockstat6
/proc/25825/net/sockstat
/proc/25825/attr/sockcreate
/proc/29148/task/29148/attr/sockcreate
/proc/29148/net/sockstat6
/proc/29148/net/sockstat
/proc/29148/attr/sockcreate
/proc/29149/task/29149/attr/sockcreate
/proc/29149/net/sockstat6
/proc/29149/net/sockstat
/proc/29149/attr/sockcreate
/proc/29164/task/29164/attr/sockcreate
/proc/29164/net/sockstat6
/proc/29164/net/sockstat
/proc/29164/attr/sockcreate
/proc/29165/task/29165/attr/sockcreate
/proc/29165/net/sockstat6
/proc/29165/net/sockstat
/proc/29165/attr/sockcreate
/proc/30605/task/30605/attr/sockcreate
/proc/30605/task/30607/attr/sockcreate
/proc/30605/task/30610/attr/sockcreate
/proc/30605/task/30612/attr/sockcreate
/proc/30605/net/sockstat6
/proc/30605/net/sockstat
/proc/30605/attr/sockcreate
/proc/30665/task/30665/attr/sockcreate
/proc/30665/task/30667/attr/sockcreate
/proc/30665/task/30670/attr/sockcreate
/proc/30665/task/30672/attr/sockcreate
/proc/30665/net/sockstat6
/proc/30665/net/sockstat
/proc/30665/attr/sockcreate
/lib/xtables/libxt_socket.so
/lib/modules/3.3.2-6.fc16.i686/kernel/drivers/pcmcia/yenta_socket.ko
/lib/modules/3.3.2-6.fc16.i686/kernel/net/netfilter/xt_socket.ko
/lib/modules/3.3.0-8.fc16.i686/kernel/drivers/pcmcia/yenta_socket.ko
/lib/modules/3.3.0-8.fc16.i686/kernel/net/netfilter/xt_socket.ko
/lib/modules/3.3.5-2.fc16.i686/kernel/drivers/pcmcia/yenta_socket.ko
/lib/modules/3.3.5-2.fc16.i686/kernel/net/netfilter/xt_socket.ko
/lib/systemd/system/cups.socket
/lib/systemd/system/udev-control.socket
/lib/systemd/system/systemd-shutdownd.socket
/lib/systemd/system/dbus.socket
/lib/systemd/system/avahi-daemon.socket
/lib/systemd/system/rpcbind.socket
/lib/systemd/system/sockets.target.wants
/lib/systemd/system/sockets.target.wants/udev-control.socket
/lib/systemd/system/sockets.target.wants/systemd-shutdownd.socket
/lib/systemd/system/sockets.target.wants/dbus.socket
/lib/systemd/system/sockets.target.wants/udev-kernel.socket
/lib/systemd/system/sockets.target.wants/systemd-stdout-syslog-bridge.socket
/lib/systemd/system/sockets.target.wants/syslog.socket
/lib/systemd/system/sockets.target.wants/systemd-initctl.socket
/lib/systemd/system/udev-kernel.socket
/lib/systemd/system/systemd-stdout-syslog-bridge.socket
/lib/systemd/system/dbus.target.wants/dbus.socket
/lib/systemd/system/sockets.target
/lib/systemd/system/syslog.socket
/lib/systemd/system/systemd-initctl.socket
/lib/systemd/system/dm-event.socket
/lib/udev/pcmcia-socket-startup
/lib/rsyslog/omuxsock.so
/lib/rsyslog/imuxsock.so
/bin/dbus-cleanup-sockets
/run/libvirt/libvirt-sock-ro
/run/libvirt/libvirt-sock
/run/rpcbind.sock
/run/abrt/abrt.socket
/run/dbus/system_bus_socket
/run/avahi-daemon/socket
/run/cups/cups.sock
/run/initramfs/lib/modules/3.3.5-2.fc16.i686/kernel/drivers/pcmcia/yenta_socket.ko
/run/initramfs/lib/udev/pcmcia-socket-startup
/etc/systemd/system/sockets.target.wants
/etc/systemd/system/sockets.target.wants/cups.socket
/etc/systemd/system/sockets.target.wants/avahi-daemon.socket
/etc/systemd/system/sockets.target.wants/rpcbind.socket
/etc/systemd/system/sockets.target.wants/dm-event.socket
/etc/mcelog/triggers/socket-memory-error-trigger




So...suggestions?

---------- Post added at 12:39 PM ---------- Previous post was at 12:38 PM ----------

Oh and sorry for posting the last output in multiple posts but it was too long for a single post. :P
__________________
"There are only two infinite things, the universe, and human stupidity, and I'm not too sure about the first one" Albert Einstein

"Liberty is the mother, not the daughter of order" Pierre-Joseph Proudhon
Reply With Quote
  #3  
Old 26th May 2012, 05:56 PM
sdlor Offline
Registered User
 
Join Date: Mar 2008
Location: The Great Inland Northwest
Posts: 214
linuxchrome
Re: Problems with MySQL

Try this command:

Code:
service mysqld start
__________________
F19-PAE, 32 bit; GeForce GT 430
Reply With Quote
  #4  
Old 26th May 2012, 06:02 PM
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,998
linuxfirefox
Re: Problems with MySQL

Also, you didn't say what Fedora version it was, it's important because Fedora 16 is really different from Fedora 15.

On Fedora 16 should should really be starting mysql via the command:
Quote:
systemctl enable mysqld.service
systemctl start mysqld.service

I'd also suggest you do what the error message asked:
Quote:
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
Is it running and does the socket exist?

Last edited by marko; 26th May 2012 at 06:04 PM.
Reply With Quote
  #5  
Old 26th May 2012, 09:37 PM
AgoristTeen1994 Offline
Registered User
 
Join Date: May 2012
Location: Michigan
Posts: 6
linuxchrome
Re: Problems with MySQL

@marko I'm running Fedora 16, and how do I check that the socket exists?

@sdlor okay
__________________
"There are only two infinite things, the universe, and human stupidity, and I'm not too sure about the first one" Albert Einstein

"Liberty is the mother, not the daughter of order" Pierre-Joseph Proudhon
Reply With Quote
  #6  
Old 26th May 2012, 09:48 PM
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,998
linuxfirefox
Re: Problems with MySQL

Quote:
@marko I'm running Fedora 16, and how do I check that the socket exists?
Plain old "ls -l" would work:

Quote:
ls -l /var/lib/mysql/mysql.sock
It will look like a 0 byte file in the /var/lib/mysql directory

also if you run "lsof" as root like this:
Quote:
lsof | grep mysql | grep sock
you should see a bunch of open file listings owned by mysqld for the socket that look like these
Quote:
mysqld 3336 3358 mysql 12u unix 0xffff8800ae16c680 0t0 89376 /var/lib/mysql/mysql.sock
mysqld 3336 3359 mysql 12u unix 0xffff8800ae16c680 0t0 89376 /var/lib/mysql/mysql.sock

Last edited by marko; 26th May 2012 at 09:50 PM.
Reply With Quote
  #7  
Old 26th May 2012, 09:50 PM
AgoristTeen1994 Offline
Registered User
 
Join Date: May 2012
Location: Michigan
Posts: 6
linuxchrome
Re: Problems with MySQL

okay thanks.
__________________
"There are only two infinite things, the universe, and human stupidity, and I'm not too sure about the first one" Albert Einstein

"Liberty is the mother, not the daughter of order" Pierre-Joseph Proudhon
Reply With Quote
Reply

Tags
mysql, problems

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql problems cranium Using Fedora 3 2nd February 2008 03:14 PM
MySQL 4.1.20 on FC3 with PHP - problems tux2 Servers & Networking 1 1st August 2006 11:25 AM
MySQL problems Boodlooder Using Fedora 12 26th April 2006 02:53 AM
PHP/MYSQL problems after FC3->FC4 overlord Servers & Networking 6 14th October 2005 06:38 AM


Current GMT-time: 09:08 (Saturday, 26-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat