gpt4 book ai didi

MySQL 具有 mysqlslap 架构,但 "1049 Unknown database ' mysqlslap'"错误仍然存​​在

转载 作者:可可西里 更新时间:2023-11-01 06:52:07 26 4
gpt4 key购买 nike

我正在执行以下命令

mysqlslap -uroot -pmypassword --query="show databases;" --delimiter=";" --verbose -P3307 --host=machine01 --create-schema=mysqlslap

但它一直返回这个错误

mysqlslap: Error when connecting to server: 1049 Unknown database 'schema'



注:我还在我的实例中显式创建了架构 mysqlslap。

最佳答案

This MySQL error message means that you try to connect to a database that does not exist. Either try to connect to an existing MySQL database (for example test or mysql). Or create a database with the according name.



更多请点击:
https://www.digitalocean.com/community/tutorials/how-to-measure-mysql-query-performance-with-mysqlslap

关于MySQL 具有 mysqlslap 架构,但 "1049 Unknown database ' mysqlslap'"错误仍然存​​在,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37315626/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com