Windows Thread, MySQL Databases in Technical; Heya
Im trying to configure MYSQL to create tables. It is to do with the MRBS (the room booking software). ...
-
30th April 2007, 10:36 AM #1 MySQL Databases
Heya
Im trying to configure MYSQL to create tables. It is to do with the MRBS (the room booking software). So ive created the mrbs folder using "mysqladmin create mrbs" but have a problem running "mysql mrbs < tables.my.sql". Im logged in locally to the machine so ive got all user rights.
Can anyone help?
Tim
-
-
IDG Tech News
-
30th April 2007, 10:39 AM #2 Re: MySQL Databases
Regardless of being logged in locally, mysql user rights to create databases and tables are completely separate.
What problems are you having? Are any error messages being shown when you run the commands? Are those instructions direct from the MRBS manual?
Either way, I think you'll need to provide a username and/or password at some point.
-
-
30th April 2007, 10:46 AM #3 Re: MySQL Databases
basically, im running mysql mrbs < tables.my.sql and getting an error of the system cannont find the file specified. Ive done a search in windows for *.sql but nothing appears.
and craig, am using MRBS till yours has LDAP in it, hopefully, yours is easier to configure and wont be that long till you get it set up
-
-
30th April 2007, 11:19 AM #4 Re: MySQL Databases
Download the windows admin GUI if your struggling it will make life a little easier. Its on the official MySQL site.
-
-
30th April 2007, 11:37 AM #5 Re: MySQL Databases
Ok, it looks as if it can't find the tables.my.sql file to import.
You'll need to either a) 'cd' to the directory where the tables.my.sql file is then run the mysql command; or b) type the full path to the file.
eg:
Code:
C:\www\mrbs\db>mysql mrbs < tables.my.sql
or
Code:
C:\>mysql mrbs < c:\www\mrbs\db\tables.my.sql
-
-
30th April 2007, 12:06 PM #6 Re: MySQL Databases
Tim: Are you running this on doze or nix?
If you struggle with the commandline install phymyadmin to give you a web based gui for all things mysql.
Ben
-
-
30th April 2007, 03:44 PM #7 Re: MySQL Databases
i found the problem, i had a senior moment, i forgot to copy the right files over. oops. but now apache will not start on the machine... jpb for 2morrow i think and as for seeing the main home page, that aint happening either.
-
-
30th April 2007, 06:49 PM #8 Re: MySQL Databases
@timbo343: I find webmin to be a very easy way of daoing all this stuff.
-
-
1st May 2007, 07:48 AM #9 Re: MySQL Databases
Try this out:
http://www.heidisql.com/
It will import your SQL.
-
-
1st May 2007, 10:50 AM #10 Re: MySQL Databases
I use phpmyadmin, it even lets you input sql commands directly, command line is far too complicated
-
-
1st May 2007, 11:11 AM #11 Re: MySQL Databases
wow heidi is indeed a handy lady.
Looks good so I can now update from the commandline on the box, phpmyadmin and now heidi on my doze machine 
Ben
-
-
1st May 2007, 11:37 AM #12 Re: MySQL Databases

Originally Posted by
plexer wow heidi is indeed a handy lady.
Looks good so I can now update from the commandline on the box, phpmyadmin and now heidi on my doze machine
Ben
Hehe CLI means you are a l33t hax0r 
Yeh I love heidi, it used to be called MySQLFront and was commercial (and cheap) but MySQL forced them to stop so they went open source.
-
-
1st May 2007, 11:46 AM #13 Re: MySQL Databases

Originally Posted by
ZeroHour Yeh I love heidi
... jsut don't tell the missus!
-
SHARE: 
Similar Threads
-
By danIT in forum General Chat
Replies: 2
Last Post: 18th December 2007, 09:52 PM
-
Replies: 2
Last Post: 1st July 2007, 10:19 AM
-
By RobC in forum Educational Software
Replies: 15
Last Post: 21st April 2006, 06:45 PM
-
Replies: 2
Last Post: 20th December 2005, 11:56 AM
-
By iking in forum Books and Manuals
Replies: 0
Last Post: 11th July 2005, 03:35 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules