Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. #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:...
    2. #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: ...
    3. 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'...
    4. 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...
    5. 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:...
  3. #2

    Default 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

  4. #3

    Default 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

  5. #4

    Default 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

  6. #5

    Default 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

  7. #6

    Default 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

  8. #7

    Default 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

  9. #8

    Default 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

  10. #9

    Default 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

  11. #10

    Default 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

  12. #11

    Default Re: mysql

    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

    R.F. Pels Guest

  13. #12

    Default 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

  14. #13

    Default 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

  15. #14

    Default Re: mysql

    mickeyg wrote:
    > 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?
    One workaround should be to add /usr/lib/mysql to the file /etc/ld.so.conf.
    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

  16. #15

    Default 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

  17. #16

    Default 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

  18. #17

    Default Re: mysql


    "ARMANDO PADILLA" <mando81@prodigy.net> schreef in bericht
    news:0i74b.3310$217.2357@newssvr32.news.prodigy.co m...
    > Hello everyone I was wondering if anyone knew a software package that
    would
    > graphically display my Mysql
    > Database and its table structures.
    >
    [url]http://www.phpmyadmin.net/[/url]


    JW



    Janwillem Borleffs Guest

  19. #18

    Default 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...
    > > Hello everyone I was wondering if anyone knew a software package that
    > would
    > > graphically display my Mysql
    > > Database and its table structures.
    > >
    >
    > [url]http://www.phpmyadmin.net/[/url]
    >
    >
    > JW
    >
    >
    >

    ARMANDO PADILLA Guest

  20. #19

    Default 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...
    > > > Hello everyone I was wondering if anyone knew a software package that
    > > would
    > > > graphically display my Mysql
    > > > Database and its table structures.
    > > >
    > >
    > > [url]http://www.phpmyadmin.net/[/url]
    > >
    > >
    > > JW
    > >
    > >
    > >
    >
    >

    Kevin Robinson Guest

  21. #20

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139