I have a website written in php and mysql (written by someone else) and I need to alter it- just for your interest it is bridgetjonesart.co.uk. So I thought I would download it to my desktop pc and use easy php and mysql locally to make changes then upload it again.
I have the sql database as a file 'runningc_bjart.sql' in the root directory. I first use php admin to create a database of the same name as the orginal and then use import ... one table appears to be created but then getting an error... Error
SQL query: DocumentationEdit Edit
SELECT `comment`
FROM `phpmyadmin`.`pma_column_info`
WHERE db_name = 'runningc_bjart'
AND table_name = ''
AND column_name = '(db_comment)'
MySQL said: Documentation
#1100 - Table 'pma_column_info' was not locked with LOCK TABLES
---------
Error
SQL query: DocumentationEdit Edit
SELECT `comment`
FROM `phpmyadmin`.`pma_column_info`
WHERE db_name = 'runningc_bjart'
AND table_name = ''
AND column_name = '(db_comment)'
MySQL said: Documentation
#1100 - Table 'pma_column_info' was not locked with LOCK TABLES
I am not sure what to try next, any help would be really appreciated. Thank you. Bridget
controlhost
,controluser
orcontrolpass
. For some reason phpMyAdmin dies when importing scripts that useLOCK TABLES
if those configuration items are missing. Thanks for the tip! – Lecturer