php - mysql databases different in terminal & workbench on osx -


i use mysql -u root -p connect mysql on osx terminal. works fine , can create , view databases.

but these databases different ones can see on mysql workbench phpmyadmin. ones of latter 2 same.

how open mysql databases can see on terminal on workbench or other gui?

also when connect laravel db,

db_connection=mysql db_host=127.0.0.1 db_port=3306 db_database=somedb db_username=root db_password='abcd' 

it connects dbs on mysql terminal, not ones on phpmyadmin & workbench.

do have different sqls running? .. , how fix it?

i think command can check if there 2 instances of mysql running on machine or not.

ps aux | grep mysqld 

Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -