Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 72bffef

Browse files
committed
Update cmf_sandbox.rst
Adding "php app/console doctrine:phpcr:init:dbal" to setup the database using pdo_mysql otherwise I have this error: <pre> An exception occurred while executing 'SELECT * FROM phpcr_namespaces': SQLSTATE[42S02]: Base table or view not found: 1146 Table 'cmf.phpcr_namespaces' doesn't exist Executing initializer: CmfRoutingBundle </pre>
1 parent 5a34a36 commit 72bffef

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cookbook/editions/cmf_sandbox.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@ run:
121121
If you don't have sqlite, you can specify ``pdo_mysql`` or ``pdo_pgsql`` and
122122
provide the database name and login credentials to use.
123123

124+
Then you have to set up your database with:
125+
126+
.. code-block:: bash
127+
128+
$ php app/console doctrine:phpcr:init:dbal
129+
124130
Once your database is set up, you need to `register the node types`_ for
125131
phpcr-odm:
126132

0 commit comments

Comments
 (0)