how do I create a MySQL user/account? I am running php/mysql under win7?

thanks a lot!!

2 Answers

Relevance
  • R.F.
    Lv 7
    1 decade ago
    Favorite Answer

    1. Log into MySQL as the "root" user.

    2. Enter this statement:

    GRANT ALL ON [db].* TO [user]@localhost IDENTIFIED BY '[password]';

    [db] = the database name. For all databases, enter * so it looks this: *.*

    [user] = the user name

    [password] = the user password

    For full details on how to add users to MySQL:

    http://dev.mysql.com/doc/refman/4.1/en/adding-user...

  • 4 years ago

    there are a number of open source accessible which incorporate AjaxChat. yet once you prefer to start from scratch, own domicile page/mysql isn't sufficient, as a results of fact own domicile page is server section scripting. you are able to desire to comprehend javascript as a fashion to make it take place. study some articles approximately Ajax; you will possibly in all possibility get some perception.

Still have questions? Get your answers by asking now.