I installed mysql and apachi form fedora14 installation dvd when I installed fedora.
no I want to run mysql interpreter for training mysql (I'm student). when I run mysql command I receive error:

$ mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

I looked at mysql man pag but it wasn't useful!
please guide my throw this!
(I don't know any mysql db_name or username or passwords)

try mysql -uroot
bye :)

Your mysql server is not running. I don't know about fedora, but in Ubuntu you start it as root with
/etc/init.d/mysql start

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.