Jump to content

Hey guys, need a little help installing ownCloud on my Ubuntu 16.04 Machine. Everything has been installed and I can load the login page(localhost/owncloud). After trying to create a database using MySQL/MariaDB, I am getting the error "SQLSTATE [HY000] [2002] No such file or directory." This is a fresh install of Ubuntu, all I have installed is ownCloud and the ownCloud desktop client. Any suggestions?

Link to comment
https://linustechtips.com/topic/640188-owncloud-help-needed/
Share on other sites

Link to post
Share on other sites

It should have access, it is installed at the root level. Also, the install wizard allows the user to choose a location to install the server at. I choose the /var/www file, as a database location. As soon as I try creating the database, I get the given error.

Link to comment
https://linustechtips.com/topic/640188-owncloud-help-needed/#findComment-8254664
Share on other sites

Link to post
Share on other sites

On 8/8/2016 at 9:51 PM, pant2002 said:

Hey guys, need a little help installing ownCloud on my Ubuntu 16.04 Machine. Everything has been installed and I can load the login page(localhost/owncloud). After trying to create a database using MySQL/MariaDB, I am getting the error "SQLSTATE [HY000] [2002] No such file or directory." This is a fresh install of Ubuntu, all I have installed is ownCloud and the ownCloud desktop client. Any suggestions?

Pretty sure I had a similar issue recently that I resolved but it escapes me just now. Will update if I remember.

 

On 8/8/2016 at 10:19 PM, Julian2000nl said:

Does ownCloud has access to the location the database is being created in?

 

Also, SQL is crap. My Futallaby server never got to work because of a random #1045 Access Denied error that made no sense at all.

Will retry it myself in a while.

 

Also, using alternative software is sometimes a good idea.

Just because you couldn't get something to work, doesn't mean the software is crap. MySQL is an excellent piece software, with so many advanced features, considering it is opensource and free. True it will flag errors, but in my experience all are 100% legit and it never seems error for something that "made no sense at all". Although it may seem that it is broken for no reason, once you figure out the issue you will go "Oh...right. That's why".

System/Server Administrator - Networking - Storage - Virtualization - Scripting - Applications

Link to comment
https://linustechtips.com/topic/640188-owncloud-help-needed/#findComment-8262983
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×