Domain is restored without hosting: The user already exists

Follow

Comments

3 comments

  • Avatar
    Andrés Pinilla

    Hi, I can't remove a user.

    When I execute this command (I change johndoe by my user):

    plesk db "delete from sys_users where login = "johndoe";"

    I receive this error

    ERROR 1054 (42S22) at line 1: Unknown column 'johndoe' in 'where clause'

    exit status 1

    Can you help me?.

    I use Ubuntu 16.04 and Plesk Onyx Version 17.8.11 Update #37

    Thanks,

    Andres

    0
    Comment actions Permalink
  • Avatar
    Alisa Kasyanova

    @Andrés Pinilla
    Hi! Use the single quotes for 'johndoe', like this: plesk db "delete from sys_users where login = 'johndoe';"

    0
    Comment actions Permalink
  • Avatar
    Andrés Pinilla (Edited )

    @Alisa Kasyanova

    Thanks, works perfectly :-)

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request