Database operation failed on mysql 8.0
See original GitHub issueimport { Client } from 'https://deno.land/x/mysql@1.2.3/mod.ts';
const config = {
  timeout: 10000,
  pool: 3,
  debug: true,
  hostname: '127.0.0.1',
  username: 'admin001',
  password: 'admin001'
};
let client = await new Client().connect(config);
await client.execute(`CREATE DATABASE mydemo;`);
await client.execute(`USE mydemo;`);
await client.execute(`
    CREATE TABLE user_info (
        id int(11) NOT NULL AUTO_INCREMENT,
        name varchar(100) NOT NULL,
        is_top tinyint(1) default 0,
        created_at timestamp not null default current_timestamp,
        PRIMARY KEY (id)
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
`);
await client.close();
console.log('success!')

Issue Analytics
- State:
 - Created 4 years ago
 - Comments:17 (6 by maintainers)
 
Top Results From Across the Web
2 Server Error Message Reference - MySQL :: Developer Zone
Occurs for failure to create or copy a file needed for some operation. Possible causes: Permissions problem for source file; destination file already...
Read more >Database operation failed on mysql 8.0 · Issue #16 - GitHub
@magichim It's not a working code. I alos try it by uncommenting the code. SQL excution result will return in mess order.
Read more >4 Changes in MySQL 8.0.31 (2022-10-11, General Availability)
InnoDB : A failure occurred while upgrading a MySQL instance with a MySQL 5.6 data directory containing user-created table with a particular ...
Read more >Cloud SQL for MySQL error messages
Try this: Connect to the database (for example, using Cloud Shell) and login as root. Execute USE mysql; . Grant the ...
Read more >MySQL Database Export Errors and Solutions - WebDevStudios
Issue 1: MySQL database export error due to client/server version mismatch ... TL;DR: Make sure that the version of mysqldump that your MySQL ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@manyuanrong Thanks. I tried with
jsencrypt, however it cant supportoaeppadding. I have to find other ways.I do get two methods, one is bridge to rust’s
rsacrate, the other is a bundle of forge.I choose the later as it has none business of platform difference at all.
And now seems we have extra option thanks @invisal . I would try to integrate that lib when I get time.
@magichim It’s not a working code. I alos try it by uncommenting the code. SQL excution result will return in mess order.