Dump a list of your table/column names into a file. Use that as the basis of a .sql script that does your 70 ALTER TABLE
statements and execute that.
So if you create a file like this:
users this_column
sales that_column
products other_column
and then a Perl program like this:
while (<>) {
chomp;
my ($table,$oldname) = split / /;
my $newname = $oldname;
$newname =~ s/_//g;
print "ALTER TABLE $table RENAME $oldname TO $newname;\n";
}
and run it like this:
perl rename.pl names.txt > rename.sql
You'll wind up with a SQL script like this:
ALTER TABLE users RENAME this_column TO thiscolumn;
ALTER TABLE sales RENAME that_column TO thatcolumn;
ALTER TABLE products RENAME other_column TO othercolumn;
that you can then pass to your MySQL client.
It's not doing it in SQL, but it's much less hassle than messing with the MySQL data dictionary.
Note: I haven't tested the output to see if the actual MySQL generated works. It's merely illustration.