简体   繁体   English

有没有一种方法可以在不运行MAMP的情况下访问mysql数据库?

[英]Is there a way to access the mysql database without running MAMP?

I'm working on laravel, and I run the project using the command 我在laravel上工作,我使用以下命令运行项目

 php -S localhost:8888 -t public

But When I want to look at the database I quit and go to run the MAMP , to access the phpMyAdmin ? 但是,当我想查看数据库时,我退出并运行MAMP来访问phpMyAdmin?

is there any way to use mysql without having to run mamp ? 有什么办法可以不用运行mamp而使用mysql吗?

I use Sequel Pro. 我使用Sequel Pro。 I'm assuming you're on a Mac since you use MAMP. 我假设您使用Mac以来就在Mac上。

More info here: http://www.sequelpro.com/ 此处提供更多信息: http : //www.sequelpro.com/

Mysql doesn't require apache server to run. Mysql不需要运行Apache服务器。 You can use mysql cli for accessing database. 您可以使用mysql cli来访问数据库。 Link to install mysql 链接安装mysql

use mysql -u {username} -p and enter password 使用mysql -u {username} -p并输入密码

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM