| imho.ws |
![]() |
|
|
|
# 1 |
|
Guest
Сообщения: n/a
|
Помогите с установкой простого скрипта
http://www.globalmegacorp.org/dvddb/
Читаю INSTALL.TXT и не все понятно: To set up the DVD database, you will need: 1 MySQL Server, available from http://www.mysql.com 1 Apache server with PHP enabled. (http://www.apache.org and http://www.php.net respectively). Some friends. Some DVD's. С ЭТИМ ВСЕ ПОНЯТНО! To prepare for installation, set up a database on your mysql server and configure access permissions. See the mysql documentation for information on how to do this, but at a pinch, the following should work: create database dvddb; базу создал grant all privileges on dvddb.* to dvddb@localhost identified by '<password>'; Как надо grant all privileges??? flush privileges; как надо flush? Create the database tables and insert default data by running a command something like this: mysql -udvddb -p dvddb < dvddb.sql Таблицу то создать в базе легко, но возникает миллион вопросов о ее ПАРАМЕТРАХ. а строка sql запроса выдает ошибку smile Check out the database and look at some of the default data. The country, region and genre tables are populated by default. You may want to replace, remove, or add to this data so it's applicable for your area. (As of version 0.3, it's possible to edit all these tables through the admin pages, so you don't need to go in the backend and do it). У меня by default ничего не создалось. Next, move the contents of the web directory to somewhere where it's accessable over the web. Понятно Edit the file inc/db.php and set the login, password and database information for the database you've already set up. с этим тоже ясно You should now be at the point where you can connect to the page and view it. You should only have the login and new login menu options available. с вашей помощью до этого поинта дойду smile At this point, create a login for yourself from the new login page. понятно Next, jump back to a database query window, and update the tiAdmin and tiEnabled values to 1 for your login. This should be the only time you need to do this manually, unless you accidentally un-admin yourself. A query like this ought to do it: update user set enabled=1,admin=1 where id =1; с вашей помощью до этого поинта дойду smile That's basically it. You can now login and look at the Admin page, the config page, and pretty much do everything from the web side. м-дя.. basically smile |
|
|
# 2 | ||
|
Full Member
Регистрация: 20.01.2004
Адрес: Таллинн
Пол: Male
Сообщения: 623
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Цитата:
Весь SQL с параметрами в файле dvddb.sql Может у тебя этот файл не выполнился? Цитата:
Последний раз редактировалось EvroStandart; 17.12.2006 в 19:08. |
||
|
|
|
|
# 3 | |||
|
Guest
Сообщения: n/a
|
Цитата:
Цитата:
Цитата:
|
|||
|
|
# 4 | |
|
Moderator
Регистрация: 29.04.2002
Адрес: Moscow
Пол: Male
Сообщения: 2 980
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Цитата:
а из файла sql удали все комментарии и пройдет, как по маслу
__________________
Есть две бесконечные вещи, Вселенная и глупость. Впрочем, на счет Вселенной, я не уверен |
|
|
|
|
|
# 5 | ||
|
Guest
Сообщения: n/a
|
Цитата:
Цитата:
|
||
|
|
# 6 | |
|
Moderator
Регистрация: 29.04.2002
Адрес: Moscow
Пол: Male
Сообщения: 2 980
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Цитата:
После удаления всех комментариев он был проглочен phpMyadmin на ура. в Phpmyadmin в правом верхнем углу есть пункт language. Установи там русский и все будет по русски
__________________
Есть две бесконечные вещи, Вселенная и глупость. Впрочем, на счет Вселенной, я не уверен Последний раз редактировалось Merlin Cori; 20.12.2006 в 12:47. |
|
|
|
|
|
# 7 | |
|
Guest
Сообщения: n/a
|
Цитата:
|
|