[wp-trac] [WordPress Trac] #43167: Unable to install worpress, error on wp-admin/setup-config.php

WordPress Trac noreply at wordpress.org
Sat Jan 27 18:47:45 UTC 2018


#43167: Unable to install worpress, error on wp-admin/setup-config.php
--------------------------+-----------------------------
 Reporter:  irecinius     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Database      |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Install Step 2: fails with message
 "WordPress database error Unknown column 'wp_' in 'field list' for query
 SELECT wp_"

 MYSQL -> SELECT VERSION();
 RESPONSE -> '5.6.38-83.0-log'

 Bug:
 Setup-Config at L310
 https://github.com/WordPress/WordPress/blob/master/wp-admin/setup-
 config.php#L310

 Running the query:
 $wpdb->query( "SELECT $prefix" );

 MYSQL -> SELECT wp_
 RESPONSE -> Error Code: 1054. Unknown column 'wp_' in 'field list'


 Observations, query fails regardless if prefix exists or not, tested on a
 working database, same query fails with same message

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43167>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list