The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How do I get my MySQL platform and database back to original state?

Discussion in 'Database Discussions' started by Eben Odendaal, Jul 16, 2014.

  1. Eben Odendaal

    Eben Odendaal Registered

    Joined:
    Jul 12, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Grabouw, South Africa
    cPanel Access Level:
    Root Administrator
    Hi,

    I am new to this and would like to know how I can get my mysql platform and database back to original state. If I try to install apps it does not grant permission to me.

    Thanx
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you elaborate further on what you mean by "original state". Could you let us know the details of the problem you are experiencing?

    Thank you.
     
  3. Eben Odendaal

    Eben Odendaal Registered

    Joined:
    Jul 12, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Grabouw, South Africa
    cPanel Access Level:
    Root Administrator
    Hi

    This is what my myphp is saying:
    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
    ob_end_clean();<?php
    ob_end_clean();<?php
    ob_end_clean();<?php
    ob_end_clean();<?php
    ob_end_clean();<?php
    ob_end_clean();<?php
    ob_end_clean();<?php
    ob_end_clean();<?php
    ob_end_clean();<?php
    ob_end_clean();<?php
    ob_end_clean();<?php
    ob_end_clean();<?php
    ob_end_clean();<?php
    ob_end_clean();<?php
    ob_end_clean();<?php
    ob_end_clean();<?php
    ob_end_clean();

    SQL query:

    <?php ob_end_clean();

    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
    ob_end_clean()' at line 1
     
  4. corporatehost

    corporatehost Member

    Joined:
    Jul 17, 2014
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    The issue seems to be MySQL Query you're passing seems to take your php code as mysql query and produce this error.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Yes, it looks like an issue with your script as opposed to a problem with the MySQL server itself. You could try restoring the account from any available backups if it was working properly in the past. Or, you may want to check with the script developer to see what solutions are available.

    Thank you.
     
Loading...

Share This Page