• I get this message when I try to upload the wp-config.php file onto my server.
    #1064 – You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘<?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘wordpress’)’ at line 1

Viewing 3 replies - 1 through 3 (of 3 total)
  • You are getting this error ‘uploading’ to your server?

    After you upload the WordPress files to your server, then you execute the wp-admin/install.php process.

    Also, make sure you’ve edited wp-config.php and put the correct values for your database.

    Thread Starter rtbucher

    (@rtbucher)

    Also, make sure you’ve edited wp-config.php and put the correct values for your database.

    Here is the complete error line I have created a database in mysql and then I try to manually upload wp-config.php and this is the complete error line.

    Error
    There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem

    ERROR: Unknown Punctuation String @ 1
    STR: <?
    SQL: <?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘wordpress’);<?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘wordpress’);<?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘wordpress’);<?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘wordpress’);<?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘wordpress’);<?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘wordpress’);<?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘wordpress’);<?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘wordpress’);

    SQL query:

    <?php // ** MySQL settings ** // define(‘DB_NAME’, ‘wordpress’);

    MySQL said:

    #1064 – You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘<?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘wordpress’)’ at line 1

    [ Back ]

    Try using FTP to upload your WordPress files, including wp-config.php.

    Uploading_WordPress_to_a_remote_host

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I am trying to install on my jumpline server and having problems.’ is closed to new replies.