you might have accidentally deleted a semi-colon, paranthesis, or something that might create an error.
or, if you used a prefix for the database, you might need to check this line :
$table_prefix = ‘main_’;
wordpress might be trying to duplicate the prefix while accessing the db.