This is my current wp-config.php for the site and blog IDs.
define( 'SITE_ID_CURRENT_SITE', 2 );
define( 'BLOG_ID_CURRENT_SITE', 1 );
I had tried setting the site_id in all the tables to 1, along with the blog_id, but I still got the database connection error. I dropped all the tables and started over, setting the SITE_ID_CURRENT_SITE to 2. Now everything seems to be working. So the SITE_ID_CURRENT_SITE may need to be changed to what is in the database in addition to the blog_id change.
Everything seems to be working now. Thanks for everyone's help!