---
title: "linux 查询Mysql的安装位置"
author: "oldboy"
date: "2009-07-28T14:44:43Z"
tags: []
slug: "linux-mysql"
draft: false
lastmod: "2009-07-28T14:45:01Z"
id: 434536
url: "https://oldboy.iteye.com/blog/434536"
---

使用RPM命令安装Mysql时经常找不到Mysql的安装位置

使用rpm -qa |grep -i mysql来查询一下是否安装了Mysql

可以使用rpm -ql查询一下安装位置