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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you have a specific error I can be of more help. Make sure you include the 'mysql' command you used.
Jason aka Zone
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
-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
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.
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