LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-30-2005, 04:35 AM   #1
lt_wentoncha
Member
 
Registered: Apr 2005
Posts: 42

Rep: Reputation: 15
mysql


Hi all,

I'm not sure if this is the right forum, but I'm trying to install and run mysql 4.11.2 on hoary hedgehog. Anyways, if I sudo ./bin/mysql_safe --user=mysql & as the default account, the server starts up alright. However, if I do a new login => terminal and plain ol ./bin/mysql_safe --user=mysql & as the mysql user, the server starts, stops, and dumps to bash saying something about /tmp/mysql.sock. I'll try to post more tomorrow; it seems HH is having problems opening new windows ATM.

Thanks again, and mods, if there's a better forum for this, I'd appreciate a move.

Kind Regards
WC
 
Old 06-30-2005, 08:59 AM   #2
sbassett
Member
 
Registered: Dec 2004
Location: USA
Distribution: CentOS 4.4,Ubuntu 6.10&7.04,Win XP(the wife's)
Posts: 151

Rep: Reputation: 30
WC;
are you sure you are executing this correctly. It would seem to me that the main mysql server is only needed to start, then you would log in to the server.

IE sudo /etc/init.d/mysql start

then mysql -u username -p dbname

I believe this is all the correct syntax. But the machines server only needs to be started up, not a server for each user.

Please let me know if I am missing something.

Last edited by sbassett; 06-30-2005 at 09:02 AM.
 
  


Reply



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 02:13 PM
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock welery Linux - Software 19 03-06-2014 07:19 AM
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. suziecorbett Linux - Software 8 10-09-2008 01:52 AM
Problems with MySQL on SuSE: Can't Connect (/var/lib/mysql/mysql.sock) neocookie Linux - Software 8 02-07-2008 11:48 PM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:50 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
Open Source Consulting | Domain Registration