Rambler's Top100
Форум: MS ACCESSVBVBA MS OfficeMS SQL server
Новые сообщения: 0000

Форум: MS SQL server

Вопросы связанные с MS SQL server

Обновить визитку
Участники «Online»
Все участники

 
 

Доброго времени суток, Посетитель!

вид форума:
Линейный форум Структурный форум

тема: вопрос по MYSQL
 
 автор: час   (02.11.2009 в 14:36)   личное сообщение
 
 

Обязательное ли задавать пароль? :

Первое, что мы проделаем — изменим пароль root: это очевидное требование безопасности.

mysql> update mysql.user set password=Password('ВашПароль') where user='root' and host='localhost';
Query OK, 0 rows affected (0.06 sec)
Rows matched: 1 Changed: 0 Warnings: 0

mysql> flush privileges;
Query OK, 0 rows affected (0.08 sec)

mysql>



Если мы нигде не ошиблись мы войдём , а если нет то выйдем...
этот пароль -он будет действовать на ввход в сервер...
А базы для них тоже пароли нужны - или.....
И если переносим базу на другой комп там mysql надо конфигурить с таким же пакролем или???

В файле с расширением x.opt - написано вон чаво - одна латынь....
default-character-set=latin1
default-collation=latin1_swedish_ci

это ведь не покатит?
лучше видимо написать
default-character-set=cp1251
default-collation=cp1251_general_ci

или пофигу?

  Ответить  
 
 автор: Силblч   (05.11.2009 в 18:56)   личное сообщение
 
 

не пофигу

у меня логинов к базе два
1 - для пользователей-посетителей сайта - они только читают
2-й для модуля управления контентом сайта. для менеджера по контенту. он может изменять данные в некоторых таблицах
3-й - рутовый :) он для меня, разработчика, и для админа

  Ответить  
 
 автор: Мюллер   (06.11.2009 в 11:10)   личное сообщение
 
 


mysql> update mysql.user set password=Password('ВашПароль') where user='root' and host='localhost';


А нафига тебе локалхост, если ты собираешься работать с WinForms?

И если честно, не понятно, чего ты выбрал MySQL. Для человека, который всю жизнь работал с продуктами мелкомягких и писать клиента ты будешь на .NET- тоже продукт мелкомякгих. Не логичней ли взять MSSQL SERVER? Чем вызвано желание работать с MySQL?

  Ответить  
 
 автор: час   (06.11.2009 в 18:59)   личное сообщение
 
 

Прости брат - был не прав
Корыстью вызвано желание
желание вызвано тока бесплатностью
и неосведомлённостью моею
кода уже начал вникать гляжу вроде как MSSQL экспресс имеется
==================
Просвяти заблудшую овцу может и впрям я не на верном пути
Укажи мне Muller куда и как надо идти.......

Вот например SQLServer2005_SSMSEE.msi - это как можно использовать для коммерческого распространения или нет?

  Ответить  
 
 автор: час   (07.11.2009 в 17:37)   личное сообщение
13 Кб.
 
 

вот лицензия, но написано как то не понятно - я бы сказал не по русски


MICROSOFT SOFTWARE LICENSE TERMS
MICROSOFT SQL SERVER 2005 EXPRESS EDITION
MICROSOFT SQL SERVER 2005 EXPRESS EDITION WITH ADVANCED SERVICES 
MICROSOFT SQL SERVER 2005 EXPRESS TOOLKIT 
MICROSOFT SQL SERVER 2005 MANAGEMENT STUDIO EXPRESS 
These license terms are an agreement between Microsoft Corporation (or based on where you live, one of its affiliates) and you.  Please read them.  They apply to the software named above, which includes the media on which you received it, if any.  The terms also apply to any Microsoft
•    updates,
•    supplements,
•    Internet-based services, and 
•    support services
for this software, unless other terms accompany those items.  If so, those terms apply.
BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS.  IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.
If you comply with these license terms, you have the rights below.
1.    INSTALLATION AND USE RIGHTS.  
a.    Installation and Use.  You may install and use any number of copies of the software on your devices.
b.    Included Microsoft Programs.  The software contains other Microsoft programs.  These license terms apply to your use of those programs.
2.    ADDITIONAL LICENSING REQUIREMENTS AND/OR USE RIGHTS.
a.    Distributable Code.  You are permitted to distribute the software in programs you develop if you comply with the terms below.
i.    Right to Use and Distribute.  The software is “Distributable Code.”
•    Distributable Code.  You may copy and distribute the object code form of the software. You may not modify the software, and your programs must include a complete copy of the software, including set-up.
•    Third Party Distribution.  You may permit distributors of your programs to copy and distribute the Distributable Code as part of those programs.
ii.    Distribution Requirements.  For any Distributable Code you distribute, you must
•    add significant primary functionality to it in your programs;
•    require distributors and external end users to agree to terms that protect it at least as much as this agreement; 
•    display your valid copyright notice on your programs; 
•    indemnify, defend, and hold harmless Microsoft from any claims, including attorneys’ fees, related to the distribution or use of your programs; and 
•    if the software is Microsoft SQL Server 2005 Management Studio Express or Microsoft SQL Server 2005 Express Toolkit, distribute it with either: 
•    Microsoft SQL Server 2005 Express Edition or 
•    Microsoft SQL Server 2005 Express Edition with Advanced Services.
iii.    Distribution Restrictions.  You may not
•    alter any copyright, trademark or patent notice in the Distributable Code; 
•    use Microsoft’s trademarks in your programs’ names or in a way that suggests your programs come from or are endorsed by Microsoft; 
•    distribute Distributable Code to run on a platform other than the Windows platform;
•    include Distributable Code in malicious, deceptive or unlawful programs; or
•    modify or distribute the source code of any Distributable Code so that any part of it becomes subject to an Excluded License.  An Excluded License is one that requires, as a condition of use, modification or distribution, that
•    the code be disclosed or distributed in source code form; or 
•    others have the right to modify it.
3.    INTERNET-BASED SERVICES.  Microsoft provides Internet-based services with the software.  It may change or cancel them at any time.
4.    SCOPE OF LICENSE.  The software is licensed, not sold. This agreement only gives you some rights to use the software.  Microsoft reserves all other rights.  Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement.  In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways.    You may not
•    disclose the results of any benchmark tests of the software to any third party without Microsoft’s prior written approval;
•    work around any technical limitations in the software;
•    reverse engineer, decompile or disassemble the software, except and only to the extent that applicable law expressly permits, despite this limitation;
•    make more copies of the software than specified in this agreement or allowed by applicable law, despite this limitation;
•    publish the software for others to copy; or
•    rent, lease or lend the software.
5.    BACKUP COPY.  You may make one backup copy of the software.  You may use it only to reinstall the software.
6.    DOCUMENTATION.  Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes.
7.    TRANSFER TO A THIRD PARTY.  The first user of the software may transfer it and this agreement directly to a third party.  Before the transfer, that party must agree that this agreement applies to the transfer and use of the software.  The first user must uninstall the software before transferring it separately from the device.  The first user may not retain any copies.
8.    EXPORT RESTRICTIONS.  The software is subject to United States export laws and regulations.  You must comply with all domestic and international export laws and regulations that apply to the software.  These laws include restrictions on destinations, end users and end use.  For additional information, see www.microsoft.com/exporting.
9.    SUPPORT SERVICES. Because this software is “as is,” we may not provide support services for it.
10.    ENTIRE AGREEMENT.  This agreement, and the terms for supplements, updates, Internet-based services and support services that you use, are the entire agreement for the software and support services.
11.    APPLICABLE LAW.
a.    United States.  If you acquired the software in the United States, Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles.  The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort.
b.    Outside the United States.  If you acquired the software in any other country, the laws of that country apply.
12.    LEGAL EFFECT.  This agreement describes certain legal rights.  You may have other rights under the laws of your country.  You may also have rights with respect to the party from whom you acquired the software.  This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so.
13.    DISCLAIMER OF WARRANTY.   THE SOFTWARE IS LICENSED “AS-IS.”  YOU BEAR THE RISK OF USING IT.  MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES OR CONDITIONS.  YOU MAY HAVE ADDITIONAL CONSUMER RIGHTS UNDER YOUR LOCAL LAWS WHICH THIS AGREEMENT CANNOT CHANGE.  TO THE EXTENT PERMITTED UNDER YOUR LOCAL LAWS, MICROSOFT EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
14.    LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES.  YOU CAN RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00.  YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES.
This limitation applies to
•    anything related to the software, services, content (including code) on third party Internet sites, or third party programs; and
•    claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law.
It also applies even if Microsoft knew or should have known about the possibility of the damages.  The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.


  Ответить  
 
 автор: мюллер   (09.11.2009 в 11:13)   личное сообщение
 
 

Можно свободно использовать и устанавливать любое количество копий на любое количество пользователей.
Так же можно свободно распространять со своим приложением любое количество копий.
При распространении устанавливать только полный пакет програмного обеспечения (нельзя менять содержимое программного пакета MSSQLSERVER )
Так же нельзя изменять содержимое програмного пакета и у себя на компьютере.

  Ответить  
 
 автор: час   (09.11.2009 в 15:44)   личное сообщение
 
 

Спасибо!!!
- понял..........

  Ответить  
HiProg.com - Технологии программирования
Rambler's Top100 TopList