MAC install MySQL and DBeaver(转载)

本文详细介绍了如何在MAC操作系统中安装MySQL和DBeaver。首先,从官方渠道下载MySQL的dmg文件并按步骤安装,设置好密码。接着,在.bash_profile中配置MySQL的路径,并验证安装是否成功。然后,进入数据库目录,使用mysql命令行。最后,下载并安装DBeaver,按照提示连接刚刚设置的MySQL,导入数据库。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

MAC install MySQL and DBeaver(转载)

源地址:https://alessiazm.wordpress.com/2021/08/14/mac-install-mysql-and-dbeaver/

Install MySQL

1、Download MySQL dmg

Here is the dmg (mysql-8.0.26-macos11-x86_64.dmg)

2、Install MySQL

instal the mysql.dmg step by step.

And set the password at the configuration step.

3、Config the path

vim ./.bash_profile

Add the mysql path below and save

export PATH=$PATH:/usr/local/mysql/bin
export PATH=$PATH:/usr/local/mysql/support-files
source ~/.bash_profile

Then, you could try type mysql to confirm whether installed.

4、 Go the db directory

cd test_db

5、 Use mysql command line

mysql -u root -p < employees.sql

Use mysql command line

Install DBeaver

Download the DBeaver via the net

Download

And Install step by step!

Open DBeaver and connect the sql.

Open DBeaver and connect the sql.

Click next, type the password u just set and confirm.

Then, the test_db is imported and sawn.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值