# Install Problems

**URL:** <https://forum.phpvms.net/t/install-problems/2105>\
**Category:** phpVMS Legacy Support (v2/v5)\
**Created:** [February 26, 2010, 10:31pm UTC](https://forum.phpvms.net/t/install-problems/2105 "2010-02-26T22:31:56Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [February 26, 2010, 10:31pm UTC](https://forum.phpvms.net/t/install-problems/2105/1 "2010-02-26T22:31:56Z")

</div>

Hi, my freind is trying to install phpvms, but it won’t find the database. But we have the database in the same server. My ferind and I been kinking out all night why won’t phpvms find the databse and recreated the database over a hundred times and redownloaded the files and reinstall everything but it won’t still find the database.

Do you know whats wrong? One Point for someone who helped us getting it work.

---

<div class="post-metadata">

**Author:** ![joeri](https://forum.phpvms.net/user_avatar/forum.phpvms.net/joeri/32/30_2.png) [@joeri](https://forum.phpvms.net/u/joeri)\
**Post date:** [February 26, 2010, 10:38pm UTC](https://forum.phpvms.net/t/install-problems/2105/2 "2010-02-26T22:38:25Z")

</div>

> Hi, my freind is trying to install phpvms, but it won’t find the database. But we have the database in the same server. My ferind and I been kinking out all night why won’t phpvms find the databse and recreated the database over a hundred times and redownloaded the files and reinstall everything but it won’t still find the database.
> 
> Do you know whats wrong? One Point for someone who helped us getting it work.

you got an url to look at

---

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [February 26, 2010, 10:41pm UTC](https://forum.phpvms.net/t/install-problems/2105/3 "2010-02-26T22:41:14Z")

</div>

> you got an url to look at

Nope, sorry it’s still in server IP. I can’t release it, becasue my ferind said no. What he has on his system is

1. PHP 5

2. MYSQL 5

3. Lunix Server

4. PHPVMS 2.840

Hope it might help. Also we did try granting permissons on the database and the files. They are writeable.

---

<div class="post-metadata">

**Author:** ![joeri](https://forum.phpvms.net/user_avatar/forum.phpvms.net/joeri/32/30_2.png) [@joeri](https://forum.phpvms.net/u/joeri)\
**Post date:** [February 26, 2010, 11:04pm UTC](https://forum.phpvms.net/t/install-problems/2105/4 "2010-02-26T23:04:49Z")

</div>

> Nope, sorry it’s still in server IP. I can’t release it, becasue my ferind said no. What he has on his system is
> 
> 1. PHP 5
> 
> 2. MYSQL 5
> 
> 3. Lunix Server
> 
> 4. PHPVMS 2.840
> 
> Hope it might help. Also we did try granting permissons on the database and the files. They are writeable.

vms is current 2.877

the rest looks good

it will be difficould to help iff you can’t look at it

---

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [February 26, 2010, 11:08pm UTC](https://forum.phpvms.net/t/install-problems/2105/5 "2010-02-26T23:08:13Z")

</div>

> vms is current 2.877
> 
> the rest looks good
> 
> it will be difficould to help iff you can’t look at it

I know it’s hard but my firned doesn’t want to release his server ip. The url is not set yet. Yup that is the current version he has. I been restarting the servers and everything.

The error is saying database is not found. But it is in our server and it has the grant permissons. It should find that database. I don’t know why.

---

<div class="post-metadata">

**Author:** ![joeri](https://forum.phpvms.net/user_avatar/forum.phpvms.net/joeri/32/30_2.png) [@joeri](https://forum.phpvms.net/u/joeri)\
**Post date:** [February 26, 2010, 11:11pm UTC](https://forum.phpvms.net/t/install-problems/2105/6 "2010-02-26T23:11:56Z")

</div>

> I know it’s hard but my firned doesn’t want to release his server ip. The url is not set yet. Yup that is the current version he has. I been restarting the servers and everything.
> 
> The error is saying database is not found. But it is in our server and it has the grant permissons. It should find that database. I don’t know why.

how are you calling the database(localhost) or different

---

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [February 26, 2010, 11:18pm UTC](https://forum.phpvms.net/t/install-problems/2105/7 "2010-02-26T23:18:01Z")

</div>

> how are you calling the database(localhost) or different

the database is called phpvms and i’m enetering in localhost. We are installing by from the server. And in phpmyadmin. It saying in localhost. I’m just tryoing to browese around the server to see what is the problem. But i can’t find the source of a problem.

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [February 27, 2010, 12:12am UTC](https://forum.phpvms.net/t/install-problems/2105/8 "2010-02-27T00:12:01Z")

</div>

I would goto your ISP and find out the database address

---

<div class="post-metadata">

**Author:** ![simpilot](https://forum.phpvms.net/user_avatar/forum.phpvms.net/simpilot/32/26_2.png) [@simpilot](https://forum.phpvms.net/u/simpilot)\
**Post date:** [February 27, 2010, 12:14am UTC](https://forum.phpvms.net/t/install-problems/2105/9 "2010-02-27T00:14:14Z")

</div>

Is this a dedicated server? If so what you are showing should be working.

If it is a shared server your database and username are probably appended by “username\_”

If it is free hostsing the db probably resides on another server all together and will need to have a url to connect.

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [February 27, 2010, 12:15am UTC](https://forum.phpvms.net/t/install-problems/2105/10 "2010-02-27T00:15:27Z")

</div>

Yes what simpilot said. Also try connecting in the command line:

```
mysql -uUSER -p DATABASE_NAME

```

If you can’t connect that way, then there’s an issue with your database install

---

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [February 27, 2010, 4:25am UTC](https://forum.phpvms.net/t/install-problems/2105/11 "2010-02-27T04:25:57Z")

</div>

> Yes what simpilot said. Also try connecting in the command line:
> 
> mysql -uUSER -p DATABASE\_NAME
> 
> If you can’t connect that way, then there’s an issue with your database install

he has dedicated server. His own apple server. like me. And we tried pointing the username but it can’t find the database.

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [February 27, 2010, 4:28am UTC](https://forum.phpvms.net/t/install-problems/2105/12 "2010-02-27T04:28:52Z")

</div>

> he has dedicated server. His own apple server. like me. And we tried pointing the username but it can’t find the database.

Then the database is not setup properly.

Login to mysql as root

```
mysql -uroot -p

```

Then type

```
SHOW DATABASES;

```

And see if the db shows up under there. If it does, then your user above probably doesn’t have privledges to that db`

---

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [February 27, 2010, 4:30am UTC](https://forum.phpvms.net/t/install-problems/2105/13 "2010-02-27T04:30:41Z")

</div>

> Then the database is not setup properly.
> 
> Login to mysql as root
> 
> mysql -uroot -p
> 
> Then type
> 
> SHOW DATABASES;
> 
> And see if the db shows up under there. If it does, then your user above probably doesn’t have privledges to that db`

I granted permisson for that database as root and i type in root and the password.

And he has the same server as mine. My own hosting and his own hosting and we were doing the same process like mine. Mine was ok. but his is not finding the database.

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [February 27, 2010, 4:33am UTC](https://forum.phpvms.net/t/install-problems/2105/14 "2010-02-27T04:33:22Z")

</div>

Check it on his though, it’s not always the same.

You shouldn’t be accessing as root from your scripts. There should be another user setup. When you do SHOW DATABASES; (on his server), does that database you setup show? And then log out and log back in as that user, and do SHOW DATABASES again, and make sure that’s showing up. Its a DB issue somewhere

---

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [February 27, 2010, 4:35am UTC](https://forum.phpvms.net/t/install-problems/2105/15 "2010-02-27T04:35:27Z")

</div>

> Check it on his though, it’s not always the same.
> 
> You shouldn’t be accessing as root from your scripts. There should be another user setup. When you do SHOW DATABASES; (on his server), does that database you setup show? And then log out and log back in as that user, and do SHOW DATABASES again, and make sure that’s showing up. Its a DB issue somewhere

K i restarted the whole server and i checked the database and its there and inside the db is emtpy. But we used another program a php based and its finding that database. But phphvms is not finding that database. Also i tried deleting the database and created a new one but it won’t still find it.

And we had the server tech came in, and its the phpvms issue.

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [February 27, 2010, 4:41am UTC](https://forum.phpvms.net/t/install-problems/2105/16 "2010-02-27T04:41:45Z")

</div>

> K i restarted the whole server and i checked the database and its there and inside the db is emtpy. But we used another program a php based and its finding that database. But phphvms is not finding that database. Also i tried deleting the database and created a new one but it won’t still find it.

You didn’t follow what I said. Did you check the user that you’ve created for that database? What databases does that user show? If you do “use phpvms” (if that’s the databse name), does it change to the database?

If you’re using phpMyAdmin, goto Privileges on the front page page, create a new user called phpvms, and have it create a database and grant all privledges for that user. Then try that. phpMyAdmin accesses it as root if that’s how you’re logging in, and it sees all databases

---

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [February 27, 2010, 4:52am UTC](https://forum.phpvms.net/t/install-problems/2105/17 "2010-02-27T04:52:00Z")

</div>

> You didn’t follow what I said. Did you check the user that you’ve created for that database? What databases does that user show? If you do “use phpvms” (if that’s the databse name), does it change to the database?
> 
> If you’re using phpMyAdmin, goto Privileges on the front page page, create a new user called phpvms, and have it create a database and grant all privledges for that user. Then try that. phpMyAdmin accesses it as root if that’s how you’re logging in, and it sees all databases

K i created a new user called phpvms and granted permissons to data:phpvmsand i enter everything in there and its still not finding the database.

Also we reinstalled the system couple hours ago and no problems.

I don’t understand why phpvms is not finding that database but the other php program is finding that db and it works.

---

<div class="post-metadata">

**Author:** ![mark1million](https://forum.phpvms.net/user_avatar/forum.phpvms.net/mark1million/32/15_2.png) [@mark1million](https://forum.phpvms.net/u/mark1million)\
**Post date:** [February 27, 2010, 12:18pm UTC](https://forum.phpvms.net/t/install-problems/2105/18 "2010-02-27T12:18:30Z")

</div>

What box are you on, linux or windows?

Do you use phpmyadmin?

Next thing is to create a test php connect file to see if you can connect, it will spit out errors if there are some.

There are well over 1000 installs of phpvms so its defiantly not a problem there.

---

<div class="post-metadata">

**Author:** ![joeri](https://forum.phpvms.net/user_avatar/forum.phpvms.net/joeri/32/30_2.png) [@joeri](https://forum.phpvms.net/u/joeri)\
**Post date:** [February 27, 2010, 2:41pm UTC](https://forum.phpvms.net/t/install-problems/2105/19 "2010-02-27T14:41:36Z")

</div>

> There are well over 1000 installs of phpvms so its defiantly not a problem there.

+1 for you

---

<div class="post-metadata">

**Author:** ![Kyle](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@Kyle](https://forum.phpvms.net/u/Kyle)\
**Post date:** [February 27, 2010, 4:52pm UTC](https://forum.phpvms.net/t/install-problems/2105/20 "2010-02-27T16:52:23Z")

</div>

> What box are you on, linux or windows?
> 
> Do you use phpmyadmin?
> 
> Next thing is to create a test php connect file to see if you can connect, it will spit out errors if there are some.
> 
> There are well over 1000 installs of phpvms so its defiantly not a problem there.

K i did a test php connect file and there is no probelms but the PHPVMS won’t find the database is already created. Yes he uses phpmyadmin

[Next page](https://forum.phpvms.net/t/install-problems/2105.md?page=2)
