Adding computers to the network

Hello,

I am very new to this system. I just created a new database on a computer that will serve as the home desktop, but also be accessed remotely. I am now trying to add a new computer to the system for remote access - the desktop is a PC and the computer to be added is a Mac. I have downloaded Java and MySQL on that computer and changed the default to InnoDB on both computers. When I type in the command > GRANT SELECT, INSERT, UPDATE, DELETE, LOCK TABLES ON Database Name.* TO 'Master Username'@'ip address of client computer' IDENTIFIED BY 'Master Password'; suggested on http://specifysoftware.org/content/specify-system-setup, I get the error message “Illegal GRANT/REMOVE command…” (I also just wanted to state that in order to get the above to work to even that point and not give me the initial error message “No database selected” I had to type "> use specify" before even putting in the longer command above).

I am not sure if I did something wrong when creating the initial database.

Any suggestions?

As well, once I get that part working – it is not entirely clear to me how on the remote computer I actually access the database on the desktop.

Thank you! (and apologies if this is redundant to someone else’s post – I looked through a number of the former ones and did not come across one which answered my question)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

I'm not a database expert and

I'm not a database expert and fear a command line more than death itself. I use MySQL Administrator to send such commands to the database. I've always needed pictures.

I can't help with the failure of your command, but wondered whether you had searched for the word 'remote' in the forum - the first two messages returned seem relevant. I think you just need to type the server's IP address instead of the server name (in the login dialog).

DB Commands

I just did this:
$ mysql -u root --password=password
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1498
Server version: 5.1.41-log MySQL Community Server (GPL)

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> GRANT SELECT, INSERT, UPDATE, DELETE, LOCK TABLES ON *.* TO 'mitch'@'192.168.1.5' IDENTIFIED BY 'mitch';
Query OK, 0 rows affected (0.07 sec)

mysql> exit

Did you login as root?