如何访问MySQL目录 [英] How to Access the MySQL Directory

查看:126
本文介绍了如何访问MySQL目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用这个句子在myphpadmin中创建一个文件到我的服务器,当然它创建一个文件

I was creating a file into my server with this sentence applied in myphpadmin and well of course it creates a file

SELECT column1, column2
INTO OUTFILE 'outfile.csv'
FIELDS TERMINATED BY ','
FROM table_name;

但该文件存储在var / lib / mysql中

but the file is stored in var/lib/mysql

如何从兄弟访问该目录VAR / LIB / MYSQL就像我们在www目录之后访问域名一样。

How can I access that directory VAR/LIB/MYSQL from the brother just like we access the domain after the www directory?

推荐答案

var / lib / mysql 是没有外部(www)访问权限的本地目录。如果您使用phpMyAdmin,您应该使用导出功能。

var/lib/mysql is a local directory that does not have external (www) access. If you're using phpMyAdmin, you should use the export feature.

这篇关于如何访问MySQL目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆