Title: ohnsu's Replies | WordPress.org

---

# ohnsu

  [  ](https://wordpress.org/support/users/ohnsu/)

 *   [Profile](https://wordpress.org/support/users/ohnsu/)
 *   [Topics Started](https://wordpress.org/support/users/ohnsu/topics/)
 *   [Replies Created](https://wordpress.org/support/users/ohnsu/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/ohnsu/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/ohnsu/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/ohnsu/engagements/)
 *   [Favorites](https://wordpress.org/support/users/ohnsu/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Can’t update woocommerce database](https://wordpress.org/support/topic/cant-update-woocommerce-database-2/)
 *  Thread Starter [ohnsu](https://wordpress.org/support/users/ohnsu/)
 * (@ohnsu)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/cant-update-woocommerce-database-2/#post-15447178)
 * Hi Mirko,
 * I don’t know what I did but I was able to solve the problem! I really don’t remember
   what I did.
 * Thank you again for providing guidance earlier.
 * Wishing you a great day.
 * Mai
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Can’t update woocommerce database](https://wordpress.org/support/topic/cant-update-woocommerce-database-2/)
 *  Thread Starter [ohnsu](https://wordpress.org/support/users/ohnsu/)
 * (@ohnsu)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/cant-update-woocommerce-database-2/#post-15446953)
 * Hi Mirko,
 * Thank you so much for getting back to me so fast. It took me a while to understand
   what’s being said at the page your link referred me to. Unfortunately I’m not
   tech savy and I didn’t manage to get it fixed.
 * I copied the codes and pasted it into phpmyadmin but I received an error.
 * I copied this:
 * `CREATE TABLE`wp_actionscheduler_actions` (
    `action_id` bigint(20) unsigned 
   NOT NULL AUTO_INCREMENT, `hook` varchar(191) COLLATE utf8mb4_unicode_520_ci NOT
   NULL, `status` varchar(20) COLLATE utf8mb4_unicode_520_ci NOT NULL, `scheduled_date_gmt`
   datetime DEFAULT NULL, `scheduled_date_local` datetime DEFAULT NULL, `args` varchar(
   191) COLLATE utf8mb4_unicode_520_ci DEFAULT NULL, `schedule` longtext COLLATE
   utf8mb4_unicode_520_ci, `group_id` bigint(20) unsigned NOT NULL DEFAULT ‘0’, `
   attempts` int(11) NOT NULL DEFAULT ‘0’, `last_attempt_gmt` datetime DEFAULT NULL,`
   last_attempt_local` datetime DEFAULT NULL, `claim_id` bigint(20) unsigned NOT
   NULL DEFAULT ‘0’, `extended_args` varchar(8000) COLLATE utf8mb4_unicode_520_ci
   DEFAULT NULL, PRIMARY KEY (`action_id`), KEY `hook` (`hook`), KEY `status` (`
   status`), KEY `scheduled_date_gmt` (`scheduled_date_gmt`), KEY `args` (`args`),
   KEY `group_id` (`group_id`), KEY `last_attempt_gmt` (`last_attempt_gmt`), KEY`
   claim_id` (`claim_id`) ) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci;`
 * into SQL
 * and received this message:
 * MySQL said: Documentation
 * #1046 – No database selected
 * I tried to look for the database in the code hoping I could refer it to the database
   that my site is on (not sure if I’m thinking the right thing here), but I couldn’t
   find any. :’)
 * Do you perhaps know how I can fix this?
 * Mai

Viewing 2 replies - 1 through 2 (of 2 total)