If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back  dBforums > Database Server Software > MySQL > I can't CREATE DATABASE

LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Registered User
Join Date: Oct 2011
Posts: 2

Hello, I install MySQL 5.5.29 in MacOs the instalation is good, but now I can't make my first database, the system say to me:

ERROR 1006 (HY000): Can't create database 'symfony' (errno: 2)
you now?
Reply With Quote
  #2 (permalink)  
Jaded Developer
Join Date: Nov 2004
Location: out on a limb
Posts: 12,290
check for file permissions
did you do the installation yourself or did you use an XAMPP installer.

assuming you used a MySQL download check the install instructions to see if there are additional steps
Is taking part in the 'Distinguished Gentlemans' ride. Being neither distinguished nor a gentleman, but I am keen to raise funds for Prostrate Cancer research. At present I'm threatening to ride a Norton 961 wearing a kilt. If you would like to contribute to Prostrate Cancer research then please consider donating via this page:-
Reply With Quote
  #3 (permalink)  
Registered User
Join Date: Sep 2009
Location: San Sebastian, Spain
Posts: 860
If you can log into the database then issue the following command:

mysql> show global variables like 'datadir';
| Variable_name | Value           |
| datadir       | /var/lib/mysql/ | 
1 row in set (0.00 sec)
This parameter tells you where the folder is or should be. If it does not exist make sure that this is created and owned by user running MySQL (typically user mysql).
Ronan Cashell
Certified Oracle DBA/Certified MySQL Expert (DBA & Cluster DBA)
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On