Hi
I am trying to transport database and php codes from my computer to some other computer.
I use fedora 6 and I have 'user' account in my pc
I created a database 'db' as root and granted all permissions to user.
Then I created tables using that account. And further, I have written code for PHP so as to work with that 'user'.
So, now I want to transfer whole database and those PHP codes to some other computer.
The problem is that computer doesn't have any user named 'user'.
So, how can I now get everything working in that PC as it is in my PC ?
I tried to add a user named 'user' and created a database 'db' and granted everything to 'user' as root.
And I created a file using mysqldump in my PC, then restored in another PC.
It is now showing tables, but the problem is my PHP code isn't working.
What shall I do to get working?
Thanks
I am trying to transport database and php codes from my computer to some other computer.
I use fedora 6 and I have 'user' account in my pc
I created a database 'db' as root and granted all permissions to user.
Then I created tables using that account. And further, I have written code for PHP so as to work with that 'user'.
So, now I want to transfer whole database and those PHP codes to some other computer.
The problem is that computer doesn't have any user named 'user'.
So, how can I now get everything working in that PC as it is in my PC ?
I tried to add a user named 'user' and created a database 'db' and granted everything to 'user' as root.
And I created a file using mysqldump in my PC, then restored in another PC.
It is now showing tables, but the problem is my PHP code isn't working.
What shall I do to get working?
Thanks
Comment