LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 04-21-2005, 02:12 PM   #1
okubede
LQ Newbie
 
Registered: Apr 2005
Location: South Africa
Posts: 3

Rep: Reputation: 0
Novell SLE: C++, Java and MySQL


i'm new to linux (just installed Novell's SuSE Enterprise Server). i've ff. questions:
1. can't compile programs (though java command works fine). what is the problem?
2. how do i start and use mysql?
3. the ff. program does not compile with g++. why?
#include <iostream>
int main(){
cout<<"Hello";
return;
}

thanks
oku
 
Old 04-25-2005, 08:44 AM   #2
pantoniades
LQ Newbie
 
Registered: Mar 2005
Location: Brooklyn, NY, USA
Distribution: Fedora 10, OpenSuse 11, Ubuntu
Posts: 7

Rep: Reputation: 0
Hi,

You can probably start MySQL with the command
/etc/init.d/mysql start

Though if you want a newer version or support you should get an RPM from dev.mysql.com (disclaimer: I'm a MySQL employee).

As for the C++ program, it is hard to diagnose without the exact error message. My guess would be that you have not installed libstdc++ (the standard C++ libraries).

cheers,

philip
 
  


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
Mysql and mysql java connector, connection refused arubin Slackware 3 03-29-2008 01:41 AM
Help me in connecting Java and Mysql deepanvenkatesh Programming 4 10-29-2005 12:34 PM
java and mysql linux_ub Programming 5 06-24-2004 10:59 AM
novell java groupwise client box_l Linux - Software 2 04-19-2004 03:08 PM
Novell Client on Yopper. (Server running Novell 5 SP6) C++freak Linux - Networking 0 06-03-2003 02:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:01 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