![]() #2 /Applications/MAMP/htdocs/omeka-s/vendor/zendframework/zend-log/src/Writer/Db.php(128): Zend\Db\Adapter\Adapter->query('INSERT INTO `lo.') #1 /Applications/MAMP/htdocs/omeka-s/vendor/zendframework/zend-db/src/Adapter/Adapter.php(192): Zend\Db\Adapter\Driver\Pdo\Pdo->createStatement('INSERT INTO `lo.') #0 /Applications/MAMP/htdocs/omeka-s/vendor/zendframework/zend-db/src/Adapter/Driver/Pdo/Pdo.php(255): Zend\Db\Adapter\Driver\Pdo\Connection->connect() 'Omeka\File\Thumbnailer' => 'Omeka\File\Thumbnailer\ImageMagick',Īfter this the job says it is in progress, but the error from the command line instruction is now: Fatal error: Uncaught Zend\Db\Adapter\Exception\InvalidConnectionParametersException: Ambiguous connection parameters, both hostname and unix_socket parameters were set in /Applications/MAMP/htdocs/omeka-s/vendor/zendframework/zend-db/src/Adapter/Driver/Pdo/Connection.php:219 ![]() 'Omeka\File\Store' => 'Omeka\File\Store\Local', Unix_socket = '/Applications/MAMP/tmp/mysql/mysql.sock' #4 /Applications/MAMP/htdocs/omeka-s/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(718): in /Applications/MAMP/htdocs/omeka-s/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php on line 93Īfter doing some more reading, I was looking at my database ini and file and if it is configured as follows (added the unix_socket and phpcli_path) user = 'root' #3 /Applications/MAMP/htdocs/omeka-s/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(891): Doctrine\DBAL\Connection->connect() #2 /Applications/MAMP/htdocs/omeka-s/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(356): Doctrine\DBAL\Driver\PDOMySql\Driver->connect(Array, 'root', 'root', Array) #1 /Applications/MAMP/htdocs/omeka-s/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php(22): Doctrine\DBAL\Driver\PDOConnection->_construct('mysql:host=loca.', 'root', 'root', Array) #0 /Applications/MAMP/htdocs/omeka-s/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(27): PDO->_construct('mysql:host=loca.', 'root', 'root', Array) Looking around the forums I followed the suggestion from this thread: CSV Import Jobs never startsĪnd ran a php application/data/scripts/perform-job.php -job-id -base-path /įrom the root of my Omeka-S and got this error: Fatal error: Uncaught PDOException: SQLSTATE Access denied for user (using password: YES) in /Applications/MAMP/htdocs/omeka-s/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27 I can articulate all the mapping but when I start the job, I get a “starting status” that doesn’t move. However I encountered when running CSV import module. I have managed to get it working with connecting to database, adding new items, creating thubmnails, displaying pages, etc. The easiest way is to use the MAMP interface and just click on the Start / Stop Servers button.I have a local setup of Omeka S running on a Mac with MAMP environment. The default solution is to clear your cache and this usually does the trick. Some users have experience issues with phpMyAdmin, usually relating to being unable to log in. If you want to manually stop and restart Apache from the Terminal then you can also do this. I usually find that a restart of the computer will solve most issues. The only issues I have experience with MAMP relate to the starting and stopping of the Apache server and the MySQL server. WHAT ARE THE COMMON ISSUES WHEN USING MAMP ON MAC? However, I do like to restart my computer before an install. Fortunately, Mac OSX is very stable and I have personally never experienced any issues with installing software. In fact, I often recommend this before installing any program. You may wish to consider restarting your computer before you install MAMP. Not many! Thankfully there are few issues associated with installing MAMP. WHAT ARE THE COMMON ISSUES WHEN INSTALLING MAMP ON MAC? If everything is working then you should see the Hello, World! message displayed in your browser. ![]() I suggest that you bookmark this page for quick reference.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |