Computer Talk Discussions here pertain to mods, troubleshooting, and PC/console gaming

Setting up a new database in Mysql

Thread Tools
 
Search this Thread
 
Old Sep 5, 2005 | 07:19 PM
  #1  
Cebby's Avatar
Thread Starter
Registered User
 
Joined: Sep 2002
Posts: 11,199
Likes: 2
From: Pittsburgh, PA
Setting up a new database in Mysql

I've searched online for this, but I think all the info I've been coming across is for older versions of Mysql. The version I'm working with is version 4.1. I tried "create database" in the mysql directory at a command prompt, but no luck. Says "create" isn't a valid operator.

Anyone MySQL savvy?
Reply
Old Sep 5, 2005 | 07:40 PM
  #2  
Scofco's Avatar
Contributing Member
 
Joined: Jan 2004
Posts: 3,587
Likes: 0
From: Whitehorse, Yukon
Connect to your server with admin.
Left hand side of the screen there should be a icon called "Catalogs", click it.
2 junk databases should show up on the right.
Right click in the window on the right and select "Create new Schema".
Configure it.

At least that's how it works for moi.
Reply
Old Sep 5, 2005 | 08:45 PM
  #3  
green91runner's Avatar
Registered User
 
Joined: Feb 2005
Posts: 895
Likes: 0
From: thunder bay, ontario
If you're trying to create the database.. the command should be:

CREATE DATABASE [IF NOT EXISTS] db_name


as found here...

mysql is very picky, if it's not EXACTLY the way it wants it, it will throw a random error at you, and you have to guess untill you get it right.

Example: I was trying to create a table or something along the lines.. and it was being picky between ' and `... first time I ever ran across that.

Last edited by green91runner; Sep 5, 2005 at 09:00 PM.
Reply
Old Sep 16, 2005 | 03:44 AM
  #4  
ldivinag's Avatar
Registered User
 
Joined: Dec 2003
Posts: 1,526
Likes: 0
From: N37 39* W122 3*
people people, people...

stop using the command line prompt with mysql... lol...

use the few FREE graphical clients out there. like SQLYOG. the free version is kinda cool.

although i kinda got used to the free MYSQL FRONT before they went shareware. but that only worked with pre 4.1 and the new password scheme...

you guys are killing yourself with the command line... lol...

also, mysql has a grpahical almost QBE query tool too...
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
aowRS
95.5-2004 Tacomas & 96-2002 4Runners
5
Sep 13, 2017 08:22 AM
muddpigg
Axles - Suspensions - Tires - Wheels
8
Nov 2, 2015 05:36 AM




All times are GMT -8. The time now is 02:13 AM.