Installation problem with SQL database schema

29 views
Skip to first unread message

jca...@glenbrook225.org

unread,
Sep 26, 2017, 11:58:52 AM9/26/17
to Guide on the Side discussion
Hello all,

I'm attempting to set up GOTS on a VPS for some experimentation and fear I may have gotten in over my head.  I've been following the install instructions and run into some problems with Apache, but for now I'm working on the SQL database.  Sorry in advance for the noob questions!

I've created the guide_on_the_side DB and am trying to run the Cake commands to import the data.  When I run

../lib/Cake/Console/cake Migrations.migration run all --plugin Tags
from the guide_on_the_side/app directory, I receive the following output:

root@hwsrv-189149:/var/www/html/guide_on_the_side/app# sudo ../lib/Cake/Console/                                                                                                                                                             cake Migrations.migration run all --plugin Tags
Cake Migration Shell
---------------------------------------------------------------
Error: Database connection "Mysql" is missing, or could not be created.
#0 /var/www/html/guide_on_the_side/lib/Cake/Model/Datasource/DboSource.php(260):                                                                                                                                                              Mysql->connect()
#1 /var/www/html/guide_on_the_side/lib/Cake/Model/ConnectionManager.php(105): Db                                                                                                                                                             oSource->__construct(Array)
#2 /var/www/html/guide_on_the_side/lib/Cake/Model/Model.php(3617): ConnectionMan                                                                                                                                                             ager::getDataSource('default')
#3 /var/www/html/guide_on_the_side/app/Plugin/Migrations/Lib/MigrationVersion.ph                                                                                                                                                             p(91): Model->setDataSource('default')
#4 /var/www/html/guide_on_the_side/app/Plugin/Migrations/Lib/MigrationVersion.ph                                                                                                                                                             p(73): MigrationVersion->initVersion()
#5 /var/www/html/guide_on_the_side/app/Plugin/Migrations/Console/Command/Migrati                                                                                                                                                             onShell.php(89): MigrationVersion->__construct(Array)
#6 /var/www/html/guide_on_the_side/lib/Cake/Console/Shell.php(436): MigrationShe                                                                                                                                                             ll->startup()
#7 /var/www/html/guide_on_the_side/lib/Cake/Console/ShellDispatcher.php(209): Sh                                                                                                                                                             ell->runCommand('run', Array)
#8 /var/www/html/guide_on_the_side/lib/Cake/Console/ShellDispatcher.php(66): She                                                                                                                                                             llDispatcher->dispatch()
#9 /var/www/html/guide_on_the_side/lib/Cake/Console/cake.php(54): ShellDispatche                                                                                                                                                             r::run(Array)
#10 {main}
root@hwsrv-189149:
 
Any ideas?

Thanks in advance!

John

Mike Hagedon

unread,
Dec 5, 2017, 11:18:41 PM12/5/17
to Guide on the Side discussion
Hi John, did you ever get through this?

Mike

jca...@glenbrook225.org

unread,
Dec 6, 2017, 9:04:43 AM12/6/17
to Guide on the Side discussion
Mike,

That install never worked for me.  I ended up nuking it and starting over from scratch.  I'm up and running now :)

John

Mike Hagedon

unread,
Dec 6, 2017, 3:51:10 PM12/6/17
to Guide on the Side discussion
Glad you got through it!
Reply all
Reply to author
Forward
0 new messages