Jump to:

4945 Posts in 17814 Topics by 1494 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Unable to create database

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 2544 Views
  • basil
    Avatar
    Community Member
    1 Post

    Unable to create database Link to this post

    Hello, I am new to SS. I have ftp'd all files over & created the write permissions on the necessary folders. After accessing the URL where I have SS installed, I receive an error regarding the database username, id/password...etc. Can you help. I need to get this install up & running by this weekend.

    Does the server exist Can't find the a MySQL server on 'localhost': Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
    Are the access credentials correct That username/password doesn't work: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
    Can I access/create the database I can't create new databases and the database 'SS_mysite' doesn't exist (user 'root' doesn't have CREATE DATABASE permissions.)

    I've manually created a database on my host server along w/priviledges to the user name. Also, I have tried entering this settings in the install.php and reloading via the ftp (to no avail)......HELP!!!!

  • john_fuqua
    Avatar
    Community Member
    8 Posts

    Re: Unable to create database Link to this post

    I am having the same problem on my macbook pro. I can connect find with mysql tools and I can create databases tables and everything. I even tried using root account and it still does not work.

    Has anyone figured this out?

    John

  • Heike-san
    Avatar
    Community Member
    52 Posts

    Re: Unable to create database Link to this post

    I am having the same problem as well, has someone figured out how to work this out ?
    There is a slight difference for me, I have this error:

    Does the server exist   Can't find the a MySQL server on 'localhost': Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
    Are the access credentials correct   That username/password doesn't work: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
    Can I access/create the database   I can't create new databases and the database 'turfcarespecialists_co_uk_db' doesn't exist (user 'pat' doesn't have CREATE DATABASE permissions.)

  • john_fuqua
    Avatar
    Community Member
    8 Posts

    Re: Unable to create database Link to this post

    Check out this link. This helped me out to get things running.

    http://lettersandscience.net/software/2009/07/how-to-install-wordpress-on-mac-os-x-leopard

    2544 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.