Welcome, Guest. Please login or register.

Author Topic: MySQL db on Suse 9.2  (Read 811 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline TheMagicMTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2857
    • Show only replies by TheMagicM
    • http://www.BartonekDragRacing.com
MySQL db on Suse 9.2
« on: January 30, 2005, 12:28:21 AM »
I guess I'm confused as to where to start.. I want to setup a db on my comp and mess with different things like querying it via C/Java and various other things.  I dont know where to really start other then I know I have a few mysql items on my system installed but not the actual db server itself I dont think.

-Alex
PowerMac G5 dual 2.0ghz/128meg Radeon/500gb HD/2GB RAM, MorphOS 3.9 registered, user #1900
Powerbook G4 5,6 1.67ghz/2gb RAM, Radeon 9700/250gb hd, MorphOS 3.9 registered #3143
 

Offline Waccoon

  • Hero Member
  • *****
  • Join Date: Apr 2002
  • Posts: 1057
    • Show only replies by Waccoon
Re: MySQL db on Suse 9.2
« Reply #1 on: January 30, 2005, 02:54:43 AM »
Using MySQL is a snap, but setting it up isn't.  I'd check to see if MySQL Control Center is on your computer, and if not, get it here:  http://www.mysql.com/products/mysqlcc/

One nice thing about it is that when you change tables and stuff, it will print out the code needed to create the content, making it a lot easier to learn how the database syntax works.  You can also just cut-and-paste the generated code into your applications.

I use the Win32 version of MySQL, though, which auto-installs it as a service.  I know nothing about initializing if from the command line.
 

Offline TheMagicMTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2857
    • Show only replies by TheMagicM
    • http://www.BartonekDragRacing.com
Re: MySQL db on Suse 9.2
« Reply #2 on: January 30, 2005, 04:01:10 AM »
mysqlcc is installed.. .I guess my problem is that when I do 'mysql start'  it starts then exits..otherwise I'd pretty much be able to figure everything else out.

in the meantime I did get SQLite 3 working..  it has C commands to access a database you create with it.. creates a db in a single file.. pretty interesting.

-Alex
PowerMac G5 dual 2.0ghz/128meg Radeon/500gb HD/2GB RAM, MorphOS 3.9 registered, user #1900
Powerbook G4 5,6 1.67ghz/2gb RAM, Radeon 9700/250gb hd, MorphOS 3.9 registered #3143