Login | Register | FAQ
Anonymous

exporting my database

+ Post a reply

3 posts Page 1 of 1


exporting my database

by Bereshna » Mon Jul 07, 2014 6:07 pm

Hello,
First of all thanks for your useful website, now i have follwed all the useful material here and i have build a website that has a database behind in Xampp.

i have question that when i export my database i may not face future problems ?
because i connect to mysql database in xampp by this command in all php pages in my website:
mysql_connect("localhost", "root", "") or die (mysql_error());

and now that i xport it on the remote server, may i face problems or not?
also i had port 8080 problems that when i use xampp in my pc i add :8080 after local host word in my url?

please help and guide me!
thanks a lot and hope success for all of you..
User avatar

Bereshna

  • Posts: 3
  • Joined: Wed May 28, 2014 3:22 am

Re: exporting my database

by XainPro » Thu Jul 10, 2014 12:50 pm

mysql_connect("localhost", "root", "") or die (mysql_error());

you need to change root with your 2nd server and "" with your password there and no need to change localhost

:8080 is because your xampp is configured on 8080 if it was configured on 80 then you do not need to enter this 8080 maybe skype is using your 80 port
User avatar

XainPro

  • Posts: 3933
  • Joined: Fri Feb 17, 2012 8:10 pm

Re: exporting my database

by Bereshna » Thu Jul 10, 2014 11:00 pm

Thanks a lot for solving my problem

Good Luck
User avatar

Bereshna

  • Posts: 3
  • Joined: Wed May 28, 2014 3:22 am


+ Post a reply

Page 1 of 1