Ask a Question related to PHP Development, Design and Development.
-
Treize13 #1
MySQL
I have trouble with MySQL server. I am planning to build a login page in Dreamweaver MX. I will order PHP Login Suite soon but I need to get MySQL connect works first.
I did added another the site definition for PHP into localhost. I runs it test successfully but to set MYSQL connect the database came error message "HTTP ERROR 404 CODE NOT FOUND". I dont know where do I wrong.
Should I have to set up in ODBC Data Source Administrator?
I already downloaded MySQL server in my PC from Dreamweaver provided the free download of MySQL.
I am really appreciate it if you can write more easy step by step cause I am new at this.
Thank you.
Treize13 Guest
-
#40471 [NEW]: PHP 5.2.1 failed to be compiled with MySQl 5.0.33, MySQL 5.0.27, MySQL 5.1.15
From: pcdinh at gmail dot com Operating system: CentOS 4.4 PHP version: 5.2.1 PHP Bug Type: Compile Failure Bug description:... -
#40207 [NEW]: Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL ser
From: arif at peshawaronline dot com Operating system: PHP version: 4.4.4 PHP Bug Type: Compile Warning Bug description: ... -
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
When i try to start my mysql server, i get this error ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'... -
Seen this message? Can't connect to local MySQL server through socket '/tmp/mysql.sock'
Seen this message? Can't connect to local MySQL server through socket '/tmp/mysql.sock' I got this trying to install DBI and DBD for mysql from... -
Seen this message? Can't connect to local MySQL server throughsocket '/tmp/mysql.sock'
Allen Marshall wrote: I just saw it in another newsgroup. Don't multi-post! -- Gunnar Hjalmarsson Email:... -
Treize13 #2
MySQL
I have trouble with MySQL server. I am planning to build a login page in Dreamweaver MX. I will order PHP Login Suite soon but I need to get MySQL connect works first.
I did added another the site definition for PHP into localhost. I runs it test successfully but to set MYSQL connect the database came error message "HTTP ERROR 404 CODE NOT FOUND". I dont know where do I wrong.
Should I have to set up in ODBC Data Source Administrator?
I already downloaded MySQL server in my PC from Dreamweaver provided the free download of MySQL.
I am really appreciate it if you can write more easy step by step cause I am new at this.
Thank you.
Treize13 Guest
-
Treize13 #3
MySQL
I have trouble with MySQL server. I am planning to build a login page in Dreamweaver MX. I will order PHP Login Suite soon but I need to get MySQL connect works first.
I did added another the site definition for PHP into localhost. I runs it test successfully but to set MYSQL connect the database came error message "HTTP ERROR 404 CODE NOT FOUND". I dont know where do I wrong.
Should I have to set up in ODBC Data Source Administrator?
I already downloaded MySQL server in my PC from Dreamweaver provided the free download of MySQL.
I am really appreciate it if you can write more easy step by step cause I am new at this.
Thank you.
Treize13 Guest
-
Treize13 #4
MySQL
I have trouble with MySQL server. I am planning to build a login page in Dreamweaver MX. I will order PHP Login Suite soon but I need to get MySQL connect works first.
I did added another the site definition for PHP into localhost. I runs it test successfully but to set MYSQL connect the database came error message "HTTP ERROR 404 CODE NOT FOUND". I dont know where do I wrong.
Should I have to set up in ODBC Data Source Administrator?
I already downloaded MySQL server in my PC from Dreamweaver provided the free download of MySQL.
I am really appreciate it if you can write more easy step by step cause I am new at this.
Thank you.
Treize13 Guest
-
Treize13 #5
MySQL
I have trouble with MySQL server. I am planning to build a login page in Dreamweaver MX. I will order PHP Login Suite soon but I need to get MySQL connect works first.
I did added another the site definition for PHP into localhost. I runs it test successfully but to set MYSQL connect the database came error message "HTTP Error 404 Code Not Found". I dont know where do I wrong.
Should I have to set up in ODBC Data Source Administrator?
I already downloaded MySQL server in my PC from Dreamweaver provided the free download of MySQL.
I am really appreciate it if you can write more easy step by step cause I am new at this.
Thank you.
Treize13 Guest
-
MLangner-MMTS #6
Re: mySQL
[url]http://www.mysql.com/[/url] is an excellent place to start. For books, I'd
recommend Wrox or Que books.
-- Mike
-------------------
Michael Langner
Macromedia Technical Support
[email]supportinfo@macromedia.com[/email]
1-415-252-9080
Brad wrote:--> Can someone recommend a reference for a total beginner with mySQL?
>
>
MLangner-MMTS Guest
-
Treize13 #7
MySQL
I already created MySQL User and Password database in my hosting control
panel and connection strings code appears there. Before I will set up
testing server in site definition, I understand I have to make sure create a
database and add the tables via phpMyAdmin first. I am still not understand
the table running on localhost. For sample: Field, type of varchar, etc
etc...lenght/values, attributes, null, defaults, ectra, blah blah...it is
way over my head. I have DWMX with XP Pro...and I need to connect MYSQL and
PHP database works in localhost for to build the login page only.
Thanks.
Treize13 Guest
-
mickeyg #8
mysql
Where can I find mysql.so
I am trying to add mysql support to php 4.1.2 under redhat 7.3
Please help
Thanks in advance
mickeyg Guest
-
mickeyg #9
mysql
When I run phpinfo() I get the following configure
command.
This tells me that mysql is installed.
Configure Command
'./configure' 'i386-redhat-linux' '--prefix=/usr'
'--exec-prefix=/usr' '--bindir=/usr/bin'
'--sbindir=/usr/sbin' '--sysconfdir=/etc'
'--datadir=/usr/share' '--includedir=/usr/include'
'--libdir=/usr/lib' '--libexecdir=/usr/libexec'
'--localstatedir=/var' '--sharedstatedir=/usr/com'
'--mandir=/usr/share/man' '--infodir=/usr/share/info'
'--prefix=/usr' '--with-config-file-path=/etc'
'--enable-force-cgi-redirect' '--disable-debug'
'--enable-dbg=shared' '--with-dbg-profiler'
'--enable-pic' '--disable-rpath'
'--enable-inline-optimization' '--with-bz2'
'--with-db3' '--with-curl' '--with-dom=/usr'
'--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr'
'--with-png-dir=/usr' '--with-gd'
'--enable-gd-native-ttf' '--with-ttf' '--with-gdbm'
'--with-gettext' '--with-ncurses' '--with-gmp'
'--with-iconv' '--with-jpeg-dir=/usr' '--with-mm'
'--with-openssl' '--with-png' '--with-pspell'
'--with-regex=system' '--with-xml'
'--with-expat-dir=/usr' '--with-zlib'
'--with-layout=GNU' '--enable-bcmath'
'--enable-debugger' '--enable-exif' '--enable-ftp'
'--enable-magic-quotes' '--enable-safe-mode'
'--enable-sockets' '--enable-sysvsem'
'--enable-sysvshm' '--enable-discard-path'
'--enable-track-vars' '--enable-trans-sid'
'--enable-yp' '--enable-wddx' '--without-oci8'
'--with-imap=shared' '--with-imap-ssl'
'--with-kerberos=/usr/kerberos' '--with-ldap=shared'
'--with-mysql=shared,/usr' '--with-pgsql=shared'
'--with-snmp=shared,/usr' '--with-snmp=shared'
'--enable-ucd-snmp-hack' '--with-unixODBC=shared'
'--enable-memory-limit' '--enable-bcmath'
'--enable-shmop' '--enable-versioning'
'--enable-calendar' '--enable-dbx' '--enable-dio'
'--enable-mcal' '--enable-mbstring'
'--enable-mbstr-enc-trans'
'--with-apxs=/usr/sbin/apxs'
However when I run the following script I get the
following error:
Fatal error: Call to undefined function:
mysql_connect() in /var/www/html/db_connect.php on
line 4
*----------------this is my script
----------------------------------------------
<?php
echo '21111221';
$connection = mysql_connect("localhost", "", "");
echo mysql_error();
echo mysql_errno();
// or die("Couldn't connect, reason".mysql_error());
echo '22222';
if ($connection) {
$msg = "Success!";
}
else {
$msg = "Not connected";
}
?>
<HTML>
<HEAD>
<TITLE>MySQL Connection</TITLE>
</HEAD>
<BODY>
<?php echo "$msg"; ?>
</BODY>
</HTML>
*----------------end of script
----------------------------------------------
mickeyg Guest
-
Esteban Fernández #10
Re: mysql
edit /etc/php.ini
And remove the ; to the php_mysql.dll
"mickeyg" <vze28p9f@verizon.net> escribió en el mensaje
news:xhDRa.4514$0F4.1141@nwrdny02.gnilink.net...> Where can I find mysql.so
> I am trying to add mysql support to php 4.1.2 under redhat 7.3
> Please help
> Thanks in advance
>
>
Esteban Fernández Guest
-
R.F. Pels #11
Re: mysql
mickeyg wrote:
Did you install mysql?> Where can I find mysql.so
> I am trying to add mysql support to php 4.1.2 under redhat 7.3
> Please help
> Thanks in advance
--
Ruurd
R.F. Pels Guest
-
mickeyg #12
Re: mysql
Yes I installed mysql.
"R.F. Pels" <r.f.pels@home.nl> wrote in message
news:bf74ff$nq7$1@news3.tilbu1.nb.home.nl...> mickeyg wrote:
>>> > Where can I find mysql.so
> > I am trying to add mysql support to php 4.1.2 under redhat 7.3
> > Please help
> > Thanks in advance
> Did you install mysql?
>
> --
>
> Ruurd
>
mickeyg Guest
-
mickeyg #13
Re: mysql
I have a file called libmysqlclient.so.9.0.0
and another file called libmysqlclient.so.9 in directory /usr/lib/mysql what
should I do with it?
"stephan beal" <stephan@wanderinghorse.net> wrote in message
news:bf8gfn$usp$4@ork.noris.net...> mickeyg wrote:
>>> > Yes I installed mysql.
> Type:
> find / -name mysql.so
>
>
> --
> ----- stephan beal
> Registered Linux User #71917 [url]http://counter.li.org[/url]
> I speak for myself, not my employer. Contents may
> be hot. Slippery when wet. Reading disclaimers makes
> you go blind. Writing them is worse. You have been Warned.
>
mickeyg Guest
-
stephan beal #14
Re: mysql
mickeyg wrote:
One workaround should be to add /usr/lib/mysql to the file /etc/ld.so.conf.> I have a file called libmysqlclient.so.9.0.0
> and another file called libmysqlclient.so.9 in directory /usr/lib/mysql
> what should I do with it?
That will allow php to find the lib more easily.
--
----- stephan beal
Registered Linux User #71917 [url]http://counter.li.org[/url]
I speak for myself, not my employer. Contents may
be hot. Slippery when wet. Reading disclaimers makes
you go blind. Writing them is worse. You have been Warned.
stephan beal Guest
-
Roman #15
Re: MySQL
I have same problem anyone can help please ?
"Treize13" <gwilson2002@aol.com> wrote in message news:behcv4$rs3$1@forums.macromedia.com...
I have trouble with MySQL server. I am planning to build a login page in Dreamweaver MX. I will order PHP Login Suite soon but I need to get MySQL connect works first.
I did added another the site definition for PHP into localhost. I runs it test successfully but to set MYSQL connect the database came error message "HTTP ERROR 404 CODE NOT FOUND". I dont know where do I wrong.
Should I have to set up in ODBC Data Source Administrator?
I already downloaded MySQL server in my PC from Dreamweaver provided the free download of MySQL.
I am really appreciate it if you can write more easy step by step cause I am new at this.
Thank you.
Roman Guest
-
ARMANDO PADILLA #16
mysql
Hello everyone I was wondering if anyone knew a software package that would
graphically display my Mysql
Database and its table structures.
--
Armando P.
Software Engineer.
Computer Science/Economics, California State University Los Angeles
[url]http://www.armando.ws[/url]
ARMANDO PADILLA Guest
-
Janwillem Borleffs #17
Re: mysql
"ARMANDO PADILLA" <mando81@prodigy.net> schreef in bericht
news:0i74b.3310$217.2357@newssvr32.news.prodigy.co m...would> Hello everyone I was wondering if anyone knew a software package that[url]http://www.phpmyadmin.net/[/url]> graphically display my Mysql
> Database and its table structures.
>
JW
Janwillem Borleffs Guest
-
ARMANDO PADILLA #18
Re: mysql
thanks...but thats not what I was looking for. I have phpmyadmins, I was
actually looking for something that would plot my Database structures such
as Erwin and how it graphically displays tables.
Anyone know a Erwin type program that would work on mysql?
--
Armando P.
Software Engineer.
Computer Science/Economics, California State University Los Angeles
[url]http://www.armando.ws[/url]
"Janwillem Borleffs" <jwb@jwbfoto.demon.nl> wrote in message
news:3f51cfcf$0$28913$1b62eedf@news.euronet.nl...>
> "ARMANDO PADILLA" <mando81@prodigy.net> schreef in bericht
> news:0i74b.3310$217.2357@newssvr32.news.prodigy.co m...> would> > Hello everyone I was wondering if anyone knew a software package that>> > graphically display my Mysql
> > Database and its table structures.
> >
> [url]http://www.phpmyadmin.net/[/url]
>
>
> JW
>
>
>
ARMANDO PADILLA Guest
-
Kevin Robinson #19
Re: mysql
I would think that erwin should o it if you go through ODBC. I've used erwin
loads of times for this
regards
kevin
"ARMANDO PADILLA" <mando81@prodigy.net> wrote in message
news:Tmp4b.1987$H27.645@newssvr16.news.prodigy.com ...> thanks...but thats not what I was looking for. I have phpmyadmins, I was
> actually looking for something that would plot my Database structures such
> as Erwin and how it graphically displays tables.
>
> Anyone know a Erwin type program that would work on mysql?
>
> --
> Armando P.
> Software Engineer.
> Computer Science/Economics, California State University Los Angeles
> [url]http://www.armando.ws[/url]
>
> "Janwillem Borleffs" <jwb@jwbfoto.demon.nl> wrote in message
> news:3f51cfcf$0$28913$1b62eedf@news.euronet.nl...>> >
> > "ARMANDO PADILLA" <mando81@prodigy.net> schreef in bericht
> > news:0i74b.3310$217.2357@newssvr32.news.prodigy.co m...> > would> > > Hello everyone I was wondering if anyone knew a software package that> >> > > graphically display my Mysql
> > > Database and its table structures.
> > >
> > [url]http://www.phpmyadmin.net/[/url]
> >
> >
> > JW
> >
> >
> >
>
Kevin Robinson Guest
-
Sergio Gregorio #20
Re: mysql
[url]http://www.phpmyadmin.net/documentation/[/url]
[6.8] How can I produce a PDF schema of my database?
First you have to fill the "relation", "table_coords" and "pdf_pages"
configuration variables.
etc.
I use this and it works fine,
sg
On Sun, 31 Aug 2003 16:28:35 GMT, "ARMANDO PADILLA"
<mando81@prodigy.net> wrote:
>thanks...but thats not what I was looking for. I have phpmyadmins, I was
>actually looking for something that would plot my Database structures such
>as Erwin and how it graphically displays tables.
>
>Anyone know a Erwin type program that would work on mysql?Sergio Gregorio Guest



Reply With Quote

