Hi, legend!
To run these sql commands on your database you need to log in to phpMyAdmin and select your coppermine database from the drop-down list on the left side of the screen. When the entire database structure is displayed, you will see all the db tables with their appropriate table "prefixes" (e.g. cpg132_ for latest version of CPG). This is an important point to observe... because the codes you have quoted will not actually work with later versions. You will first need to open both of your mysql files using notepad and manually edit the cpg_ and cpg131_ prefixes to match your existing database prefixes where necessary.
When you have done that, the steps in phpMyAdmin differ due to the nature of the sql command you wish to run.
Example 1 is creating a new table in the database. Copy the new command to the clipboard and click the SQL tab at the top of the Admin screen. In the large text area which you now see, paste the sql command, then click the "Go" button. phpMyAdmin will generate a short report commenting on the success or failure of the process. If successfull.. you're finished!
Example 2 is different. You are not creating a new table, you are INSERTING data into an existing table. So, copy the new command to clipboard, then click the selection box beside the table cpg131_config. Now, click the sql tab at the top. Paste the sql command into the text area and click Go. Finished!
Good luck!
John Mc