gpt4 book ai didi

mysql - 如何在 Windows 10 上的 xampp 中运行 mysql 查询 - 我没有 mysql 密码

转载 作者:行者123 更新时间:2023-11-29 19:35:47 25 4
gpt4 key购买 nike

当我运行下面的命令时,它要求输入密码。但是我没有mysql的密码。我该怎么办?

C:\xampp\mysql\bin>mysql -u root -p magento1.9 < magento_sample_data_for_1.9.0.0.sql

Enter password: ***

最佳答案

mysql -u root -p

source magento_sample_data_for_1.9.0.0.sql;

您也可以执行 use db_name; 然后运行 ​​source 命令。

关于mysql - 如何在 Windows 10 上的 xampp 中运行 mysql 查询 - 我没有 mysql 密码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41565406/

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