Keresés

Új hozzászólás Aktív témák

  • tordaitibi

    veterán

    válasz cigam #88950 üzenetére

    De, a példát kopizom beillesztem és abba változtatom meg a usert meg a jelszót és rossz szerinte.
    Ezt írom át, ez a példa a weboldalon:
    create user your_user@localhost identified by ‘password_admin’;
    Itt a terminálkimenet:
    tibi@TibiXubuntu:~$ sudo mysql -u root -p
    [sudo] tibi jelszava:  
    Enter password:  
    Welcome to the MySQL monitor.  Commands end with ; or \g.
    Your MySQL connection id is 6
    Server version: 5.7.41-0ubuntu0.18.04.1 (Ubuntu)

    Copyright (c) 2000, 2023, Oracle and/or its affiliates.

    Oracle is a registered trademark of Oracle Corporation and/or its
    affiliates. Other names may be trademarks of their respective
    owners.

    Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

    mysql> create user tibi@localhost identified by ‘abcde123456’;          
    ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server vers
    ion for the right syntax to use near '‘abcde123456’' at line 1
    mysql>

Új hozzászólás Aktív témák