Académique Documents
Professionnel Documents
Culture Documents
MySQL
Install Guide
Contact
Extensis Celartem, Inc.
1800 SW First Avenue, Email: sales_ap@celartem.com
Suite 500 http://www.celartem.com/jp/
Portland, OR 97201
Toll Free: (800) 796-9798 Press Contact
Phone: (503) 274-2020 Phone: (503) 274-2020 x129
Fax: (503) 274-0530 Email: press@extensis.com
http://www.extensis.com
Customer Service
Extensis Europe
Web/email: http://www.extensis.com/customerservice/
First Floor, Century House Phone: (800) 796-9798
The Lakes
Northampton NN4 7SJ Technical Support
United Kingdom
Phone: +44(0)1604 636 300 Web/email: http://www.extensis.com/support/
Fax +44 (0)1604 636 366
info@extensis.co.uk
Documentation Feedback
Web/email: http://www.extensis.com/helpfeedback/
© 2006 Extensis, a division of Celartem, Inc. This document and the code for such components are specified in the copyright notice file,
software described in it are copyrighted with all rights reserved. This LICENSES.TXT delivered with this product. Please refer to these
document or the software described may not be copied, in whole or part, licenses for information regarding use of these software components.
without the written consent of Extensis, except in the normal use of the
software, or to make a backup copy of the software. This exception does Extensis warrants the disks on which the software is recorded to be free
not allow copies to be made for others. Licensed under U.S. patents issued from defects in materials and faulty workmanship under normal use for
and pending. a period of thirty (30) days from the original date of purchase. If you
purchased this product directly from Extensis, and if a defect occurs
Extensis is a registered trademark of Extensis. The Extensis logo, Extensis during the 30-day period, you may return the disks to Extensis for a free
Library, Font Reserve, Font Reserve Server, Font Vault, and Font Sense, replacement. All products submitted for replacement must be registered
Portfolio, Portfolio Server, Portfolio NetPublish, NetPublish, Suitcase with Extensis before replacement. Extensis products purchased from
and Suitcase Server are all trademarks of Extensis. Celartem, Celartem, resellers are warranted by the reseller and are covered by the reseller’s
Inc., the Celartem logo, PixelLive and PixelSafe are trademarks of return policy. This warranty is limited to replacement and shall not
Celartem, Inc. Adobe, Acrobat, Illustrator, Photoshop, and PostScript encompass any other damages, including but not limited to loss of profit,
are trademarks of Adobe Systems, Incorporated. Apple, AppleScript, and special, incidental, or other similar claims. This software is provided
Bonjour, FontSync, Macintosh, Mac OS 9, Mac OS X, PowerPC, on an “as is” basis. Except for the express warranty set forth above,
and QuickDraw are registered trademarks of Apple Computer, Inc. Extensis makes no other warranties, either explicit or implied, regarding
Microsoft, Internet Explorer, Windows, Windows XP, Windows 2000, the enclosed software’s quality, performance, merchantability, or fitness
Windows NT, Windows ME and Windows 98 are registered trademarks for a particular purpose.
of Microsoft Corporation. Intel is a registered trademark of Intel.
All other trademarks are the property of their respective owners.
3. At the $ prompt, enter the following command to 6. Press Ctrl-X to exit Pico. At the prompt, press Y to
edit the my.cnf file: save your changes to the file.
Starting the MySQL Server 5. Create the database with the following command.
Replace <databasename> with an alphanumeric
Every time you restart the computer, you must
database name.
restart the MySQL database server.
create database <databasename>;
1. Launch the Terminal application, Remember to end all MySQL commands with a
semicolon (;).
if is not already open.
2. Launch the Terminal utility from the This returns the following:
Hard Disk/Applications/Utilities folder. Query OK, 0 rows affected (0.00sec)
MySQL>
4. Launch the MySQL client with the following
command:
Now, enter the next command: 9. Enter the following command to stop the
MySQL client:
GRANT ALL PRIVILEGES ON dbname.* TO
‘portsql’@’%’ IDENTIFIED BY ‘dbpassword’ quit;
WITH GRANT OPTION;
10. It is now safe to close the Terminal window.
This returns the following:
Query OK, 0 rows affected (0.00sec) Install MyODBC
MySQL> The Connector/MyODBC driver allows SQL Connect
This creates a new user named portsql and gives to communicate with the MySQL database.
them full privileges to your database.
The Connector/MyODBC driver must be installed
Now, enter the final command: on the server that will run Portfolio Server.
FLUSH PRIVILEGES;
This tells the server to reload the grant privileges. To install Connector/MyODBC on Intel-based systems:
7. When finished creating the database, enter the 1. For Intel-based systems, request the most current
following command to stop the MySQL client: MyODBC driver from your Extensis Priority Support
representative. Use the contact information found
quit; on your Annual Service Agreement (ASA) to contact
your representative. Place a copy of this driver on
8. To test the new user and connection
your server.
to the database, enter the following
command in the Terminal window:
SQL Connect 8 for Mac OS X 10.4 (Tiger) Server
has been fully tested with 3.51.12 on PowerPC-
/usr/local/mysql/bin/mysql -u portsql -p based systems and the custom Extensis MyODBC
driver on Intel-based systems. Use newer versions
of MyODBC at your own risk.
3. Type
cd/<location of custom Extensis
Connector>
Enter the password for the portsql user that you If this command fails, type the following command:
created in the previous step. sudo cp libmyodbc3.dylib /usr/lib
5. To confirm that everyone has permission to execute Create the DSN file
the driver, enter the following command:
1. Launch the ODBC Administrator utility from the
sudo chmod 755 /usr/lib/libmyodbc3.dylib
Hard Disk/Applications/Utilities folder.
6. Launch the ODBC Administrator utility from the
2. Click the lock icon in the lower-left hand corner of
Hard Disk/Applications/Utilities folder.
the ODBC Administrator window and enter your
7. From the Drivers tab, select the current MySQL driver Mac OS X username and password when prompted.
and click Remove.
3. From the User DSN tab, click Add, select the ODBC
8. Click Add. driver name and click OK.
9. In the Add dialog box, enter the new driver 4. In the Data Source Name (DSN) field, enter
description of “MySQL” (minus the quote marks). This a name for your new DSN. This will be the
description must be entered precisely or the driver name of your Portfolio catalog. Underscores
will not function properly. and spaces are not allowed in the DSN name.
You may also enter a description if desired.
10. Click Choose and select the new driver,
or type in the location of the new driver: 5. Click the Add button four times to add four
/usr/lib/libmyodbc3.dylib new keywords.
11. Click OK and then click Apply. 6. Double-click each Keyword and Value and edit them
to match the following values. Use the database
12. The ODBC Administrator utility can sometimes fail name that your created earlier in the setup process,
to save your settings. and the password value for the portsql user.
To ensure that the settings are saved, close the
Keyword Value
ODBC Administrator utility, and then relaunch it. If
the settings were not saved, return to step 5 of this SERVER localhost
procedure. USER portsql
6. At this point you are prompted to create an account 8. At the Welcome screen of the MySQL Server
on the MySQL.com website. If you would like to do Instance Configuration Wizard, click Next.
so, choose the appropriate option and follow the
instructions.
17. In this step you choose enable the root user and
choose a password. Check the Modify Security
15. Choose the Best Support for Multilingualism Settings option, then enter and confirm the new root
option and click Next. user password. When finished, click Next.
19. Click Finish to close the Wizard. 3. Double click to launch the installer.
Create the Database and DSN 8. In the Create New Data Source dialog box, click to
highlight the MySQL ODBC 3.51 driver and click
1. From the Start menu, choose Start > MySQL > Finish.
MySQL Server 4.1 > MySQL Command Line Client
Server — enter the IP Address of where the MySQL The MySQL Administrator application
database engine is installed.
For convenience, and easy maintenance, you may
User — enter a username that has full access rights to wish to use the MySQL Administrator application.
the MySQL database. Often the root user is specified. This application provides a graphical interface
To do so, enter root in this field. for many common tasks that you would typically
accomplish via the command line. This application
Password — enter a password for the user above.
is useful for creating databases, checking table
Database — choose the databasename that you structure, assigning users as well as backing up and
created in step 3 restoring.
10. Click Test to test the connection to the database. Download the most current Administrator
application from the following location:
After successfully connecting to the database, click
http://dev.mysql.com/downloads/administrator/
OK to accept the Connector/ODBC settings.
Finish installation
After you have completed the above steps, you
can proceed to installing Portfolio Sever and SQL
Connect. For further instructions, see the Portfolio
Server User Guide.