Forums
This topic is locked
How do i upload my MYSQL database in my site?
Posted 24 Mar 2002 03:52:46
1
has voted
24 Mar 2002 03:52:46 Jorge Cavagnaro posted:
Hi, i just post a message so forget it, i'm understanding well PHP running on my Pc. Now i have a question, i downloaded MYSQL and i'm working fine with it in my site, but i'm wondering how and what do i upload to my site to make my database works? Because i go the next error message:Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /netapp/sites2/sites/castacom/test/adodb/adodb-mysql.inc.php on line 113
Warning: Cannot send session cookie - headers already sent by (output started at /netapp/sites2/sites/castacom/test/adodb/adodb-mysql.inc.php:113) in /netapp/sites2/sites/castacom/test/login.php on line 12
Warning: Cannot send session cache limiter - headers already sent (output started at /netapp/sites2/sites/castacom/test/adodb/adodb-mysql.inc.php:113) in /netapp/sites2/sites/castacom/test/login.php on line 12
please somebody help me =) thaks a lot to anyone who can help this dumb
Replies
Replied 24 Mar 2002 09:29:38
24 Mar 2002 09:29:38 enquest enquest1 replied:
I would suggest that you take a look a your connection. When you put on the server your database connection has to point to the adres where it is. And that is not you 127.0.0.1 localhost. No, yo need to direct it to the one of you server.
Second to upload your server, the easy way is. Make a database dump in your phpMyAdmin copy the text (like in word or something)it outputs. And past the text in you phpMyAdmin of your server.
If your connection is ok and you data is inserted on the server database then all should work!
Second to upload your server, the easy way is. Make a database dump in your phpMyAdmin copy the text (like in word or something)it outputs. And past the text in you phpMyAdmin of your server.
If your connection is ok and you data is inserted on the server database then all should work!
Replied 24 Mar 2002 19:37:44
24 Mar 2002 19:37:44 Tim Green replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Can't connect to local MySQL server through socket '/tmp/mysql.sock'
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
This is a known issue on some installations of PHP/MySQL, and the topic has been discussed extensively on other forums. I would suggest that you enter a the above quoted phrase into www.google.com and explore the results, or alternatively visit www.php.net
Regards
Tim Green
Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Can't connect to local MySQL server through socket '/tmp/mysql.sock'
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
This is a known issue on some installations of PHP/MySQL, and the topic has been discussed extensively on other forums. I would suggest that you enter a the above quoted phrase into www.google.com and explore the results, or alternatively visit www.php.net
Regards
Tim Green
Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>