im using mysqlfront and im use that you guys have done this and i haven't found anything to help me do this im using windows xp and apache and mysql any help with this matter would be good
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have the same problem, but a different system. My webhost has php & mysql installed, and the database name is created. I also have access to my webspace via ftp.
Any ideas how I can import this file?
Thanks
Gemmy
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If doing it over the web use phpMyAdmin.
It lets you choose a sql file (db.schema) to create the tables in a db.
Installing phpMyAdmin is really easy and helpful for all db tasks over the web
Kris.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I was able to get SSH access to my ISP's server. I couldn't find mysqladmin admin on the server, but I did find mysql. So I couldn't create a new database called "poc", but I could add to my existing one (the one the ISP created for me).
im using mysqlfront and im use that you guys have done this and i haven't found anything to help me do this im using windows xp and apache and mysql any help with this matter would be good
Thanks
go to the cmd promt.
type cd mysql
cd bin
mysqladmin create databasae poc
mysql -u root -p (database) < path to dir
example:
mysql -u root -p poc < c:/tmp/pocdatabase.sql
password:XXXXXX
done
hope it helps
sorry this is the correct syntax....
mysqladmin create Poc
mysql -u root -p password poc < /your/path/to/phpopenchat/db.schema
hope it helps
I have the same problem, but a different system. My webhost has php & mysql installed, and the database name is created. I also have access to my webspace via ftp.
Any ideas how I can import this file?
Thanks
Gemmy
If doing it over the web use phpMyAdmin.
It lets you choose a sql file (db.schema) to create the tables in a db.
Installing phpMyAdmin is really easy and helpful for all db tasks over the web
Kris.
I was able to get SSH access to my ISP's server. I couldn't find mysqladmin admin on the server, but I did find mysql. So I couldn't create a new database called "poc", but I could add to my existing one (the one the ISP created for me).
I used something like:
/usr/local/psa/mysql/bin/mysql --user=user --pass=password mydatabasename < db.schema
In my case, my database name was the same as my user name. I was in the php chat directory so I didn't need a pathname to db.schema.