# Can't locate Mysql.pm in @INC

**URL:** <https://forum.cmascenter.org/t/cant-locate-mysql-pm-in-inc/2099>\
**Category:** AMET\
**Tags:** admin, smoke\
**Created:** [February 19, 2021, 6:48pm UTC](https://forum.cmascenter.org/t/cant-locate-mysql-pm-in-inc/2099 "2021-02-19T18:48:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Iqbal](https://avatars.discourse-cdn.com/v4/letter/i/bc8723/32.png) [@Iqbal](https://forum.cmascenter.org/u/Iqbal)\
**Post date:** [February 19, 2021, 6:48pm UTC](https://forum.cmascenter.org/t/cant-locate-mysql-pm-in-inc/2099/1 "2021-02-19T18:48:12Z")

</div>

Hello,  
I have installed all the required software including mysql (created a separate database for AMET and userid as ametsecure) as it mentioned here : [AMET/AMET\_QuickStart\_Guide\_v14.md at master · USEPA/AMET · GitHub](https://github.com/USEPA/AMET/blob/master/docs/AMET_QuickStart_Guide_v14.md)  
My system also has ‘perl-DBD-MySQL’ installed.

But when I try to run a script it gives me following error:  
**[root@adeq scripts\_db]# csh DEQaqProject\_base\_july.csh**  
**Populating new AQ project. This will take some time…**  
**/run/media/root/55A07B0360BDF544/postproc/AMET/perl/CAMx\_species\_list.pl**  
**test**  
**/run/media/root/55A07B0360BDF544/postproc/AMET/bin/sitecmp.exe**  
\*\* load : T Populating database with site compare data for IMPROVE Network.\*\*  
**Can’t locate Mysql.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor\_perl /usr/share/perl5/vendor\_perl /usr/lib64/perl5 /usr/share/perl5 .) at /run/media/root/55A07B0360BDF544/postproc/AMET/perl/AQ\_add\_aq2dbase.pl line 35.**  
**BEGIN failed–compilation aborted at /run/media/root/55A07B0360BDF544/postproc/AMET/perl/AQ\_add\_aq2dbase.pl line 35.**  
**Finished populating database for IMPROVE Network.**

Please help

---

<div class="post-metadata">

**Author:** ![wyat.appel](https://avatars.discourse-cdn.com/v4/letter/w/3d9bf3/32.png) [@wyat.appel](https://forum.cmascenter.org/u/wyat.appel)\
**Post date:** [March 8, 2021, 3:46pm UTC](https://forum.cmascenter.org/t/cant-locate-mysql-pm-in-inc/2099/2 "2021-03-08T15:46:33Z")

</div>

Hi,

I’m a little confused. You say you’re referencing the AMET 1.4 documentation, but it looks like your errors are related to perl (.pl) scripts. We removed all perl from AMET a couple versions ago, so I’m not sure why you’re getting errors concerning perl files.

Did you download the latest version of AMET (1.4)? There should be no perl files associated with that verison.

Wyat

---

<div class="post-metadata">

**Author:** ![Iqbal](https://avatars.discourse-cdn.com/v4/letter/i/bc8723/32.png) [@Iqbal](https://forum.cmascenter.org/u/Iqbal)\
**Post date:** [March 8, 2021, 3:52pm UTC](https://forum.cmascenter.org/t/cant-locate-mysql-pm-in-inc/2099/3 "2021-03-08T15:52:46Z")

</div>

Hi @wyat.appel ,  
Sorry for not updating the comment. You are right, I mistakenly tried to build AMET v1.2. Since, I got this error, I moved to AMETv1.4. I was able to install it successfully.

Thank you
