JohnLogar
Active member
Hi,
I just moved from the Linux to Mac OS. I installed the MAMP 5.7 to get a local server setup. But I facing an issue when I create addon by the following command
Once I run the command the following error is showing
anyone would like to help me with it.
Thanks
I just moved from the Linux to Mac OS. I installed the MAMP 5.7 to get a local server setup. But I facing an issue when I create addon by the following command
Code:
php cmd.php xf-addon:create
Once I run the command the following error is showing
Code:
An exception occurred: [XF\Db\Exception] No such file or directory in src/XF/Db/Mysqli/Adapter.php on line 165
#0 src/XF/Db/Mysqli/Adapter.php(28): XF\Db\Mysqli\Adapter->makeConnection(Array)
#1 src/XF/Db/AbstractAdapter.php(60): XF\Db\Mysqli\Adapter->getConnection()
#2 src/XF/Db/Mysqli/Adapter.php(113): XF\Db\AbstractAdapter->connect()
#3 src/XF/Db/AbstractAdapter.php(516): XF\Db\Mysqli\Adapter->escapeString('addOnsComposer')
#4 src/XF/Db/AbstractAdapter.php(494): XF\Db\AbstractAdapter->quote('addOnsComposer')
#5 src/XF/DataRegistry.php(138): XF\Db\AbstractAdapter->quote(Array)
#6 src/XF/DataRegistry.php(83): XF\DataRegistry->readFromDb(Array, Array)
anyone would like to help me with it.
Thanks