LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-24-2003, 05:21 AM   #1
artistik
Member
 
Registered: Aug 2003
Location: south carolina
Distribution: Slackware 11
Posts: 60

Rep: Reputation: 15
mysql


not really sure how to get mysql up and running...i read a few manuals but its all still blank to me...maybe sombody could tell me how to set it up the right way...ty.
 
Old 10-24-2003, 05:53 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
There are probably MySQL packages by your distribution available. Installing MySQL this way is probably the easiest solution. Check your installation CD's or your distribution's web site or FTP server.

Håkan
 
Old 10-24-2003, 06:28 AM   #3
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
If this is for Slackware, then yes there is a package included on the install disk. After you install that, the most important thing is to run mysql_install_db as user mysql. In other words, use these two commands:

su mysql
mysql_install_db

Then to be sure it starts when you boot up, add these lines to /etc/rc.d/rc.local:

echo Starting MySQL server:
safe_mysqld --user=mysql &
sleep 2

Now, you can either reboot or just type 'safe_mysqld --user=mysql &' at a command prompt, and MySQL should be ready to go.

The best way to go from there is to read the tutorial that's in the MySQL manual (chap. 3), available from:

http://www.mysql.com/doc/

If this is for FreeBSD, I haven't a clue.

Enjoy!
--- Cerbere
 
Old 10-24-2003, 02:25 PM   #4
artistik
Member
 
Registered: Aug 2003
Location: south carolina
Distribution: Slackware 11
Posts: 60

Original Poster
Rep: Reputation: 15
well i keep getting all kinds of errors...

mysql@d0hp:~$ /usr/bin/mysqladmin -u root password *****
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password: NO)'....
and if i try to chmod anyfiles to browse on the net...it asks me do i want to download thatfile...so i dunno.

Last edited by artistik; 10-24-2003 at 02:46 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. NoviceW Linux - Networking 17 09-17-2014 03:13 PM
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock welery Linux - Software 19 03-06-2014 08:19 AM
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. suziecorbett Linux - Software 8 10-09-2008 02:52 AM
Problems with MySQL on SuSE: Can't Connect (/var/lib/mysql/mysql.sock) neocookie Linux - Software 8 02-08-2008 12:48 AM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 09:44 AM


All times are GMT -5. The time now is 06:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration