Issues with database migration from Mac OS X to Debian Linux

Error occurred during template rendering: Invocation of method 'getLogoForGlobalcontext' in class $Proxy43 threw exception org.springframework.jdbc.BadSqlGrammarException: Hibernate operation: Could not execute query; bad SQL grammar ; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'confluence.CONTENT' doesn't exist at template/includes/macros.vm line 1351, column 43 . Contact your administrator for assistance.

1 answer

1 accepted

Hi Andy.

In fact this table should exists but I believe your MySQL should be set to understand the table names both in upper and lowercase.

I suggest you to include the lower_case_table_names = 1 line on the mysqld section on your /etc/mysql/my.cnf.

Example:

[mysqld]
#
# * Basic Settings
#
user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
lc-messages-dir = /usr/share/mysql
skip-external-locking
lower_case_table_names = 1
transaction-isolation=READ-COMMITTED

After that, restart both, Mysql and Confluence.

Hope it helps!

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

27 views 0 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you