9 More Discussions You Might Find Interesting
1. Solaris
Hey guys,
i'm pretty sure this is simple enough so i'll go quick. I must be missing something but can't pinpoint it.
NOTE: Yes, i should be using proftpd but the architect team is a pain in the butt and it is not possible right now.
Sol10 FTP server (zoned) MS vista ftp client.
Login... (1 Reply)
Discussion started by: maverick72
1 Replies
2. Solaris
Hi,
im new to Solaris (10) and need some help please.
Situation: Actually is there a Linux (SLES11) OpenLDAP-Server and authentification of Linux-Maschines works pretty sweet. Now i want to put the SOL10 (Sparc) boxes in....
Problem: User Authentification via OpenLDAP on Sol10 doesn´t work... (3 Replies)
Discussion started by: Panzerkampfwagn
3 Replies
3. Solaris
I just ran the latest ( 9-27-11) solaris patch set on my sparc testbed ( ultra80 ). Brought down to single user mode and ran patches as I always have. When I rebooted it after completion it came up with the following error on boot.
"Fast Access Data MMU Miss".
I can boot to a cdrom in... (5 Replies)
Discussion started by: bow tie klr
5 Replies
4. Solaris
Hi
What kind of Sun machine, you recommend to buy in order to learn Solaris 10 administration ?
I need machine where I can train the following sol10 features :
- zfs
- solstice suite (RAID 0+1, RAID 5, RAID 1 + 0 )
- containers
Please advice sth for reasonable price.
thx for help. (8 Replies)
Discussion started by: presul
8 Replies
5. Solaris
Hello all. I am going to build an x86 Solaris box. Sun only offers it in a 64 bit flavor.
I want to put MySQL on this box. MySQL only comes in a 32 bit version for x86 Solaris.
Can I run 32 bit apps on a 64 bit x86 Solaris machine?
Thanks! (4 Replies)
Discussion started by: RobertSubnet
4 Replies
6. Solaris
I've got a console that seems to be hung. all other services (ip, etc) work perfectly. in fact, its still in production... we just don't have console access. so i there are two consoles on this guy.. scfc0 and scfc1. using iompadm from fujitsu, this is what i got:
# ./iompadm -c FJSVscf3 info... (1 Reply)
Discussion started by: pupp
1 Replies
7. Solaris
i've decided to try out an x86 system with sol10. however, i can't get my 3com 3C905TX-B to work. i checked the hcl and it says it runs natively. anyone having similar issues or seen a fix for this? i'll be happy to supply more info. Note: i do not see this in /etc/path_to_inst. so it looks like... (1 Reply)
Discussion started by: pupp
1 Replies
8. Solaris
we have a solaris 10 box (V440)
we are looking for a way to set the stack size for all processes on the system.
we know we can use ulimit -s
$ ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 8192
coredump(blocks) unlimited... (2 Replies)
Discussion started by: robsonde
2 Replies
9. UNIX for Advanced & Expert Users
I got the source tarbal from mysql.com of the latest version about 3.23.
When I compile it, I get some errors of assembler etc.
I start ./configure with these settings
CC=gcc CFLAGS="-O6" \
CXX=gcc CXXFLAGS="-O6 -felide-constructors -fno-exceptions -fno-rtti" \
./configure... (1 Reply)
Discussion started by: mrsaint
1 Replies
LEARN ABOUT CENTOS
cgi::session::driver::mysql
CGI::Session::Driver::mysql(3) User Contributed Perl Documentation CGI::Session::Driver::mysql(3)
NAME
CGI::Session::Driver::mysql - CGI::Session driver for MySQL database
SYNOPSIS
$s = new CGI::Session( 'driver:mysql', $sid);
$s = new CGI::Session( 'driver:mysql', $sid, { DataSource => 'dbi:mysql:test',
User => 'sherzodr',
Password => 'hello' });
$s = new CGI::Session( 'driver:mysql', $sid, { Handle => $dbh } );
DESCRIPTION
mysql stores session records in a MySQL table. For details see CGI::Session::Driver::DBI, its parent class.
It's especially important for the MySQL driver that the session ID column be defined as a primary key, or at least "unique", like this:
CREATE TABLE sessions (
id CHAR(32) NOT NULL PRIMARY KEY,
a_session TEXT NOT NULL
);
To use different column names, change the 'create table' statement, and then simply do this:
$s = new CGI::Session('driver:mysql', undef,
{
TableName=>'session',
IdColName=>'my_id',
DataColName=>'my_data',
DataSource=>'dbi:mysql:project',
});
or
$s = new CGI::Session('driver:mysql', undef,
{
TableName=>'session',
IdColName=>'my_id',
DataColName=>'my_data',
Handle=>$dbh,
});
DRIVER ARGUMENTS
mysql driver supports all the arguments documented in CGI::Session::Driver::DBI. In addition, DataSource argument can optionally leave
leading "dbi:mysql:" string out:
$s = new CGI::Session( 'driver:mysql', $sid, {DataSource=>'shopping_cart'});
# is the same as:
$s = new CGI::Session( 'driver:mysql', $sid, {DataSource=>'dbi:mysql:shopping_cart'});
BACKWARDS COMPATIBILITY
As of V 4.30, the global variable $CGI::Session::MySQL::TABLE_NAME cannot be used to set the session table's name.
This is due to changes in CGI::Session::Driver's new() method, which now allows the table's name to be changed (as well as allowing both
the 'id' column name and the 'a_session' column name to be changed).
See the documentation for CGI::Session::Driver::DBI for details.
In particular, the new syntax for "new()" applies to all database drivers, whereas the old - and bad - global variable method only applied
to MySQL.
Alternately, call $session -> table_name('new_name') just after creating the session object if you wish to change the session table's name.
LICENSING
For support and licensing see CGI::Session.
perl v5.16.3 2008-07-16 CGI::Session::Driver::mysql(3)