[wp-trac] [WordPress Trac] #23487: is_blog_installed gives errorneus result on moved database

WordPress Trac noreply at wordpress.org
Sat Feb 16 13:11:38 UTC 2013


#23487: is_blog_installed gives errorneus result on moved database
-----------------------------+--------------------------
 Reporter:  Kjeld Flarup     |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  General
  Version:  3.0              |   Severity:  trivial
 Keywords:                   |
-----------------------------+--------------------------
 I resently moved my blogs to a new database, but when I tried it out, on
 of the blogs wanted a new install. Of course I did not want to do an
 install and overwrite my blog.

 I indirectly found the reason in is_blog_installed, which suppresses
 database errors. Thus I did not see this error.

 SELECT command denied to user 'techblog'@'localhost' for table
 'wp_options'

 Of course it was my fault, but I virtually had to take the wordpress code
 apart to find out why my migration failed.

 Of course this is not a big problem on new installs, but very likely to
 happen on moving databases.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23487>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list