Jump to content
EduGeek EdSec 2026 is Go! 27th Oct in Derby! Join us for a day of EdTech security focused talks, networking, and an evening social ×

Recommended Posts

Posted

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

Posted

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.

Posted

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

Posted

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:

 

C:\www\mrbs\db>mysql mrbs < tables.my.sql

 

or

 

C:\>mysql mrbs < c:\www\mrbs\db\tables.my.sql

Posted

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

Posted
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.
Posted
I use phpmyadmin, it even lets you input sql commands directly, command line is far too complicated :)
Posted

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

Posted
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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...