Menu

Total Newbie to mysql

Help
Anonymous
2001-07-13
2001-07-14
  • Anonymous

    Anonymous - 2001-07-13

    I must be doing something wrong, I did follow the install to my best knowledge, but it did not work for me.
    I have a virtual server with root access
    php4 and mysql running properly. I'm trying to install it on one of the vhosts i have.
    I gues I should be in Mysql-mode running the commands, but what ever i try i get: error in sql syntax.
    my Question is What exactly do i fill in at -uroot, -p and -uuser. I have root acces to mysql

    I hope you can help me out,

    Richard

     
    • Jason Wies

      Jason Wies - 2001-07-13

      -u = username
      -p = ask for password

      If you have a specific error I can be of more help.  Make sure you include the 'mysql' command you used.

      Jason aka Zone

       
    • Anonymous

      Anonymous - 2001-07-14

      Hi,

      been to the mysql site and figgered out about the --user and --password (somehow the short commands don't work with me)
      as i give the comands :
      " mysql> --user=root --password < /raw/user/sql/user.sql;"
      it seems to work
      (no errors). But after doing all 3 i checked with MyAdmin and nothing had happend.
      When i run sql/values.php in my browser it gives 'failed to connect to db' (i expected that but you never know)

      so i'm stuck hope you can help me out.

      Richard.

       
    • Jason Wies

      Jason Wies - 2001-07-14

      You have to change the settings in sql.inc with the new database settings.  That will make sql/values.php work.  If you don't get errors from the other commands, then it worked, although you have an extra > after mysql above, which would cause it not to work.

      Jason aka Zone

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.