snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

[PDOException] could not find driver

Open votsdb opened this issue 12 years ago • 12 comments

Hi Snipe,

Sorry to bother you, but I am trying to install Snipe-IT on my ubuntu server, but I am stuck at the second state, it said [PDOException] could not find driver, and I can't do anything with that, please advise me how to solve this problem, thank you very much.

votsdb avatar Jun 06 '14 09:06 votsdb

Just add some more information about problem installation on my server, I am using Bitnami and I am installing it under a subfolder in the apache2/htdocs/installfolder

votsdb avatar Jun 06 '14 09:06 votsdb

What version of MySQL are you using?

snipe avatar Jun 06 '14 16:06 snipe

Latest version, why can you make the installation like other cms website? if that possible.

votsdb avatar Jun 07 '14 06:06 votsdb

I have no idea what that means. Please tell me the specific version of myself that you're running. The installation is very simple, but I need more information to help you.

snipe avatar Jun 07 '14 06:06 snipe

I am running Bitnami which I downloaded from www.bitnami.com then I just created a folder under /opt/bitnami/apache2/htdocs/installfolder then I follow the installation, when I got to this state php artisan app:install then I got stuck. I've tried to do some other now I got this message.

[PDOException] SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket ' /var/run/mysqld/mysqld.sock' (2)

votsdb avatar Jun 07 '14 07:06 votsdb

I got the installation worked now, I installed snipe-IT in the subfolder of my website, when I access it, nothing come up it just showed the files and folders in the subfolder in the browser, how can I install snipe-IT into the subfolder of my website? please advise, thank you very much!

votsdb avatar Jun 07 '14 08:06 votsdb

This is what I got when I access my http://domainname.com/csvc

6-7-2014 3-32-02 pm

votsdb avatar Jun 07 '14 08:06 votsdb

Thanks for the extra info. You need to point your web server to the /public subdirectory, not to the directory that had all of the stuff in it. Lots of stuff in frameworks lives above the web root.

snipe avatar Jun 07 '14 09:06 snipe

I pointed to the public folder but I got the error message.

1

Is there anyway to fix it? Please help!

votsdb avatar Jun 07 '14 13:06 votsdb

Hi Snipe, I got it working now, thank you very much for your hard work.

votsdb avatar Jun 07 '14 15:06 votsdb

Hi again Snipe,

How are you doing? I would like to do the translation into Vietnamese, and I did translated the subfolder en in the lang folder, but still some of them still not translated, can you guide me how to do a complete translation please. very appreciated! Thank you very much.

votsdb avatar Jun 08 '14 00:06 votsdb

Closing this issue, since you submitted another issue regarding the language translations.

snipe avatar Jun 09 '14 03:06 snipe