Home > Backend Development > PHP Tutorial > linux命令行下登录MySQL

linux命令行下登录MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-23 14:09:33
Original
898 people have browsed it

我在linux系统下安装了XAMPP。
安装好后Apache、PHP、Mysql都正常运行。
如何在命令行模式下登录数据库?
我使用了mysql -uroot -p不能登录。
求高手指教。


回复讨论(解决方案)

用上绝对路径 如你安装在 /usr/local/XAMPP/mysql/bin/mysql -uroot -p
或添加到 $PATH路径下

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template