On Fri, Oct 19, 2007 at 12:57:45AM -0700, Jyri Virkki wrote:

>     The proposed directory layout for MySQL is
>             /usr/mysql/5.0
>                           /bin              binaries and scripts
>                           /lib              libraries for client API.
>                           /include          header files for client API
>                           /man/man1         man-pages for client programs
>                           /man/man8         man-pages for server programs
>                           /mysql-test       MySQL test programs
>                           /share/mysql      I18N files, sample config files
>                                             and utility scripts
>                           /sql-bench        SQL Benchmark test
>             /etc/mysql                  configuration file location
>             /var/mysql
>                      /datadir           default location for transactional
>                                         log files, data files, and pid file

You say that multiple versions of mysql can exist on the system at the same
time, and the versioning in /usr/mysql supports that.  But you don't have
any versioning in /etc/mysql or /var/mysql.  Are multiple versions expected
to share those directories?

Also, would it make sense to put links to some of the executables (maybe
just mysql?) in /usr/bin?

>     7.3.    Exported Interfaces
> 
>     NAME                      STABILITY       NOTES
> 
>     svc:/network/mysql        Committed         FMRI

You might want to follow postrgres' lead here and use

    svc:/application/database/mysql

Are you planning on having an SMF instance per version, once there are
multiple versions?

> /usr/mysql/5.0/lib/libdbug.a
> /usr/mysql/5.0/lib/libheap.a
> /usr/mysql/5.0/lib/libmyisam.a
> /usr/mysql/5.0/lib/libmyisammrg.a
> /usr/mysql/5.0/lib/libmysqlclient.a
> /usr/mysql/5.0/lib/libmysqlclient.la
> /usr/mysql/5.0/lib/libmysqlclient_r.a
> /usr/mysql/5.0/lib/libmysqlclient_r.la
> /usr/mysql/5.0/lib/libmystrings.a
> /usr/mysql/5.0/lib/libmysys.a
> /usr/mysql/5.0/lib/libvio.a
> /usr/mysql/5.0/lib/libz.a
> /usr/mysql/5.0/lib/libz.la

Why are you delivering .a files?  And what use are .la files on Solaris?

Danek

Reply via email to